HeartBeat Class Reference

HeartBeat class. More...

List of all members.

Public Member Functions

virtual void tick ()=0
 game mode.


Detailed Description

HeartBeat class.

Abstract class which classes which are supposed to be the "Heart Beat" class must implement.


Member Function Documentation

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.

Back to SmartWin website
SourceForge.net Logo