◆ this()
| ComponentTexture::this |
( |
size_t | owner, |
|
|
string | camera, |
|
|
Sprite * | tex_reference ) |
|
inline |
Hold a copy of the texture that is referenced.
◆ Input()
| void ComponentTexture::Input |
( |
| ) |
|
|
inline |
Play an animation based on the name of the animation sequence specified in the data file.
◆ LoadFromJSON()
| static ComponentTexture ComponentTexture::LoadFromJSON |
( |
size_t | id, |
|
|
JSONValue | json ) |
|
inlinestatic |
◆ Render()
| void ComponentTexture::Render |
( |
| ) |
|
|
inline |
◆ SetAnimation()
| void ComponentTexture::SetAnimation |
( |
string | name | ) |
|
|
inline |
◆ Update()
| void ComponentTexture::Update |
( |
| ) |
|
|
inline |
◆ mCamera
| string ComponentTexture::mCamera |
◆ mCurrentAnimationName
| string ComponentTexture::mCurrentAnimationName |
◆ mCurrentFrameLife
| int ComponentTexture::mCurrentFrameLife |
◆ mCurrentFramePlaying
| long ComponentTexture::mCurrentFramePlaying |
◆ mFrameNumbers
| long* [][string] ComponentTexture::mFrameNumbers |
◆ mFrames
| Frame* [] ComponentTexture::mFrames |
◆ mLastFrameInSequence
| long ComponentTexture::mLastFrameInSequence |
◆ mOwner
| size_t ComponentTexture::mOwner |
◆ mPosition
◆ mTextureRef
| SDL_Texture* ComponentTexture::mTextureRef |
◆ name
| string ComponentTexture::name |
The documentation for this class was generated from the following file:
- /Users/hodori/Documents/cpsc511/finalproject-engine-drop-table-engines/Engine/src/component.d