|
Pacman Torben Petré
|
#include <WallView.h>


Public Member Functions | |
| WallView (const std::shared_ptr< logic::WallModel > &model, char type) | |
| WallView renders a specific wall piece. | |
| Public Member Functions inherited from EntityView | |
| EntityView (const std::shared_ptr< logic::EntityModel > &model, float frameDuration) | |
| bool | shouldDelete () const |
| size_t | getFrameIndex (float dt, size_t frameLimit) |
| Calculates the current frameIndex based on the elapsed time. | |
| virtual void | resized () |
| Determines how the sprites should react when the Screen dimension changes. | |
| virtual void | render () |
| Determines what needs to happen to sprites when they should be rendered. | |
| Public Member Functions inherited from logic::Observer | |
| virtual | ~Observer ()=default |
Additional Inherited Members | |
| Protected Attributes inherited from EntityView | |
| std::shared_ptr< logic::EntityModel > | model |
| sf::Sprite | sprite |
| bool | markedForDeletion = false |
| float | frameDuration |
| float | elapsedTime = 0 |
| size_t | frameIndex = 0 |
|
explicit |
WallView renders a specific wall piece.
| model | Reference Model |
| type | Char to determine the sprite |