![]() |
Incremental Engine
1.0.6
A 2D Game Engine to create Idle Games
|
#include <Sprite.h>
Public Member Functions | |
| Sprite () | |
| virtual | ~Sprite () override |
| void | SetTexture (Texture *texture) |
| void | ClearTexture () |
| virtual FloatRect | GetLocalBounds () override |
| virtual void | Update (float dt) override |
| virtual HRESULT | Draw (ID3D11DeviceContext *deviceContext) override |
Public Member Functions inherited from IncrementalEngine::Actor | |
| virtual | ~Actor () |
| virtual void | Init () |
| void | UpdateRecursive (float dt) |
| HRESULT | DrawRecursive (ID3D11DeviceContext *deviceContext) |
| FloatRect | GetGlobalBounds () |
| void | Center () |
| const Transform | GetWorldTransform () |
| const D3DXVECTOR2 | GetWorldPosition () |
| const D3DXVECTOR2 | GetWorldScale () |
| const float | GetWorldRotation () |
| void | SetWorldPosition (D3DXVECTOR2 value) |
| virtual void | SetPosition (float x, float y) override |
| virtual void | SetPosition (const D3DXVECTOR2 &position) override |
| virtual const D3DXVECTOR2 & | GetPosition () const override |
| Actor * | GetParent () const |
| virtual void | SetParent (Actor *value, const bool fixWorldPosition=true) |
| void | SetActive (bool active) |
| bool | IsActive () |
Public Member Functions inherited from IncrementalEngine::Transformable | |
| Transformable () | |
| virtual void | SetScale (float factorX, float factorY) |
| virtual void | SetScale (const D3DXVECTOR2 &factors) |
| virtual void | SetOrigin (float x, float y) |
| virtual void | SetOrigin (const D3DXVECTOR2 &origin) |
| virtual void | SetRotation (float angle) |
| virtual float | GetRotation () const |
| virtual const D3DXVECTOR2 & | GetScale () const |
| virtual const D3DXVECTOR2 & | GetOrigin () const |
| void | Move (float offsetX, float offsetY) |
| void | Move (const D3DXVECTOR2 &offset) |
| void | Rotate (float angle) |
| void | Scale (float factorX, float factorY) |
| void | Scale (const D3DXVECTOR2 &factor) |
| const Transform & | GetTransform () const |
| const Transform & | GetInverseTransform () const |
Private Attributes | |
| TextureBase * | _texture |
Additional Inherited Members | |
Protected Member Functions inherited from IncrementalEngine::Drawable | |
| void | CopyParameters (Drawable *drawable) |
Protected Attributes inherited from IncrementalEngine::Transformable | |
| bool | _transformNeedUpdate |
Protected Attributes inherited from IncrementalEngine::Drawable | |
| RenderWindow * | _renderWindow |
| ShaderManager * | _shaderManager |
| ID3D11Device * | _device |
| IncrementalEngine::Sprite::Sprite | ( | ) |
Definition at line 6 of file Sprite.cpp.
|
overridevirtual |
Definition at line 11 of file Sprite.cpp.
| void IncrementalEngine::Sprite::ClearTexture | ( | ) |
Definition at line 41 of file Sprite.cpp.
|
overridevirtual |
Reimplemented from IncrementalEngine::Actor.
Definition at line 63 of file Sprite.cpp.
|
overridevirtual |
Reimplemented from IncrementalEngine::Actor.
Definition at line 46 of file Sprite.cpp.
| void IncrementalEngine::Sprite::SetTexture | ( | Texture * | texture | ) |
Definition at line 16 of file Sprite.cpp.
|
overridevirtual |
Reimplemented from IncrementalEngine::Actor.
Reimplemented in IncrementalEngine::Panel, and IncrementalEngine::Button.
Definition at line 58 of file Sprite.cpp.
|
private |