nsnake
Classic snake game for the terminal
|
Abstract interface to any kind of Animation. More...
#include <Animation.hpp>
Public Member Functions | |
Animation (Window *window) | |
Creates an Animation that will occur on window. | |
virtual void | load ()=0 |
Loads all internal things. | |
virtual void | update ()=0 |
Updates Animation's internal state. | |
virtual void | draw ()=0 |
Shows Animation on the screen. | |
Protected Attributes | |
Window * | window |
Abstract interface to any kind of Animation.
Definition at line 7 of file Animation.hpp.
|
inline |
Creates an Animation that will occur on window.
Definition at line 11 of file Animation.hpp.
|
inlinevirtual |
Definition at line 15 of file Animation.hpp.
|
pure virtual |
Shows Animation on the screen.
Implemented in AnimationSnakes.
|
pure virtual |
Loads all internal things.
Implemented in AnimationSnakes.
|
pure virtual |
Updates Animation's internal state.
Implemented in AnimationSnakes.
|
protected |
Definition at line 27 of file Animation.hpp.