Public Member Functions | |
virtual void | tick ()=0 |
game mode. |
Abstract class which classes which are supposed to be the "Heart Beat" class must implement.
virtual void tick | ( | ) | [pure virtual] |
game mode.
If you're gonna use SmartWin++ for game development you must have one class which inherits from the abstract HeartBeat class. This class must implement the tick function which is the function called by the library every "one tick". This is the place where one normally would put rendering and other "game logic" stuff. See the Tic Tac Toe application for an example implementation of this.