_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <contenttype.h>
Public Member Functions | |
CContentTypeLifeBar () | |
virtual | ~CContentTypeLifeBar () |
contenttype.cpp - . | |
virtual void | Draw (const CUnit &unit, CFont *defaultfont) const |
virtual void | Parse (lua_State *l) |
Public Member Functions inherited from CContentType | |
CContentType () | |
virtual | ~CContentType () |
Additional Inherited Members | |
Public Attributes inherited from CContentType | |
PixelPos | Pos |
ConditionPanel * | Condition |
Coordinate where to display. More... | |
Show bar which change color depend of value.
|
inline |
|
inlinevirtual |
Draw life bar of a unit using selected variable. Placed under icons on top-panel.
unit | Pointer to unit. |
defaultfont | FIXME: docu |
Implements CContentType.
|
virtual |
Implements CContentType.