|
| | this (size_t owner, string camera, string text, SDL_Color color, TTF_Font *font, bool isFormatted=false, int[] input=[]) |
| |
| void | Input () |
| |
| void | Update () |
| |
| void | Render () |
| |
| void | SetText (string text, bool isFormatted=false) |
| |
| void | SetValue (int index, int value) |
| |
◆ this()
| ComponentText::this |
( |
size_t | owner, |
|
|
string | camera, |
|
|
string | text, |
|
|
SDL_Color | color, |
|
|
TTF_Font * | font, |
|
|
bool | isFormatted = false, |
|
|
int[] | input = [] ) |
|
inline |
◆ Input()
| void ComponentText::Input |
( |
| ) |
|
|
inline |
◆ LoadFromJSON()
| static ComponentText ComponentText::LoadFromJSON |
( |
size_t | id, |
|
|
JSONValue | json ) |
|
inlinestatic |
◆ Render()
| void ComponentText::Render |
( |
| ) |
|
|
inline |
◆ SetText()
| void ComponentText::SetText |
( |
string | text, |
|
|
bool | isFormatted = false ) |
|
inline |
◆ SetValue()
| void ComponentText::SetValue |
( |
int | index, |
|
|
int | value ) |
|
inline |
◆ Update()
| void ComponentText::Update |
( |
| ) |
|
|
inline |
◆ mCamera
| string ComponentText::mCamera |
◆ mColor
| SDL_Color ComponentText::mColor |
◆ mFont
| TTF_Font* ComponentText::mFont |
◆ mIsFormatted
| bool ComponentText::mIsFormatted |
◆ mOwner
| size_t ComponentText::mOwner |
◆ mPosition
◆ mText
| string ComponentText::mText |
◆ mTextureRef
| SDL_Texture* ComponentText::mTextureRef |
◆ mValue
| int [] ComponentText::mValue |
The documentation for this class was generated from the following file:
- /Users/hodori/Documents/cpsc511/finalproject-engine-drop-table-engines/Engine/src/component.d