![]() |
Incremental Engine
1.0.6
A 2D Game Engine to create Idle Games
|
#include <Panel.h>
Public Member Functions | |
| Panel () | |
| virtual | ~Panel () override |
| virtual void | Update (float dt) override |
| void | SetValues (int elementsToShow, float distanceBetweenElements) |
| void | AddElement (Actor *actor) |
| void | MoveUp () |
| void | MoveDown () |
Public Member Functions inherited from IncrementalEngine::Sprite | |
| Sprite () | |
| virtual | ~Sprite () override |
| void | SetTexture (Texture *texture) |
| void | ClearTexture () |
| virtual FloatRect | GetLocalBounds () 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 |
Protected Attributes | |
| Button * | _upButton |
| Button * | _downButton |
Protected Attributes inherited from IncrementalEngine::Transformable | |
| bool | _transformNeedUpdate |
Protected Attributes inherited from IncrementalEngine::Drawable | |
| RenderWindow * | _renderWindow |
| ShaderManager * | _shaderManager |
| ID3D11Device * | _device |
Private Attributes | |
| vector< Actor * > | _elements |
| int | _elementsToShow |
| float | _distanceBetweenElements |
| int | _currentTopElement |
| bool | _panelNeedsUpdate |
Additional Inherited Members | |
Protected Member Functions inherited from IncrementalEngine::Drawable | |
| void | CopyParameters (Drawable *drawable) |
| IncrementalEngine::Panel::Panel | ( | ) |
|
overridevirtual |
| void IncrementalEngine::Panel::AddElement | ( | Actor * | actor | ) |
| void IncrementalEngine::Panel::SetValues | ( | int | elementsToShow, |
| float | distanceBetweenElements | ||
| ) |
|
overridevirtual |
|
private |