Arkanoid Remake  1.0
Public Member Functions | Protected Attributes | List of all members
App Class Reference

Application interface definition. More...

#include <App.h>

Inheritance diagram for App:
ArkanoidRemake ArkanoidRemakeSdl

Public Member Functions

 App ()
 Constructor.
 
virtual bool Init ()
 Initialization (the first method to call)
 
virtual void Start ()
 Start the application (the second method to call)
 
virtual void Update ()
 Update the application (call it in an iteration loop)
 
virtual void Stop ()
 Stop the application.
 
virtual void CleanUp ()
 Clean up the application and free memory.
 
bool Run ()
 Run the application. More...
 

Protected Attributes

bool mQuit
 Flag used in the Run() method while calling Update() in a loop.
 

Detailed Description

Application interface definition.

Member Function Documentation

bool App::Run ( )

Run the application.

Call Init() and Start(), loop calling Update(), call Stop() and CleanUp() on exit

Returns
Return false if Init() fails, else return true

The documentation for this class was generated from the following file: