ScreenHelloWorld Class Reference

Hello world screen + particle effect demo. More...

#include <ScreenHelloWorld.h>

Inheritance diagram for ScreenHelloWorld:

Inheritance graph
[legend]
Collaboration diagram for ScreenHelloWorld:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ScreenHelloWorld ()
 ScreenHelloWorld (const MString &name)
 ~ScreenHelloWorld ()
virtual void Init ()
virtual void Update (const float dTime)
 [internal] Update (call this update last when abstracting because Update can destroy the object)
virtual void Message (int Message, PStack &data, const MString &name)
 Receive message (When subscribing to messages, you receive them via this command).
 CLASS_RTTI (ScreenHelloWorld, MercuryScreen)

Private Attributes

MercuryLight m_light
vector< MStringm_imagePaths
double m_timeElasped
MercurySprite m_sprHello
MercuryCamera m_camera
float m_delay
int m_maxPoints
int m_minPoints
bool m_held
int m_x
int m_y

Detailed Description

Hello world screen + particle effect demo.

Definition at line 10 of file ScreenHelloWorld.h.


Constructor & Destructor Documentation

ScreenHelloWorld::ScreenHelloWorld (  )  [inline]

Definition at line 13 of file ScreenHelloWorld.h.

ScreenHelloWorld::ScreenHelloWorld ( const MString name  )  [inline]

Definition at line 14 of file ScreenHelloWorld.h.

ScreenHelloWorld::~ScreenHelloWorld (  )  [inline]

Definition at line 15 of file ScreenHelloWorld.h.


Member Function Documentation

virtual void ScreenHelloWorld::Init (  )  [virtual]

Reimplemented from MercuryScreen.

void ScreenHelloWorld::Update ( const float  dTime  )  [virtual]

[internal] Update (call this update last when abstracting because Update can destroy the object)

Reimplemented from MercuryScreen.

Definition at line 65 of file ScreenHelloWorld.cpp.

void ScreenHelloWorld::Message ( int  Message,
PStack data,
const MString name 
) [virtual]

Receive message (When subscribing to messages, you receive them via this command).

Reimplemented from MercuryScreen.

Definition at line 155 of file ScreenHelloWorld.cpp.

ScreenHelloWorld::CLASS_RTTI ( ScreenHelloWorld  ,
MercuryScreen   
)


Member Data Documentation

MercuryLight ScreenHelloWorld::m_light [private]

Definition at line 21 of file ScreenHelloWorld.h.

vector< MString > ScreenHelloWorld::m_imagePaths [private]

Definition at line 22 of file ScreenHelloWorld.h.

double ScreenHelloWorld::m_timeElasped [private]

Definition at line 24 of file ScreenHelloWorld.h.

MercurySprite ScreenHelloWorld::m_sprHello [private]

Definition at line 25 of file ScreenHelloWorld.h.

MercuryCamera ScreenHelloWorld::m_camera [private]

Definition at line 26 of file ScreenHelloWorld.h.

float ScreenHelloWorld::m_delay [private]

Definition at line 28 of file ScreenHelloWorld.h.

int ScreenHelloWorld::m_maxPoints [private]

Definition at line 29 of file ScreenHelloWorld.h.

int ScreenHelloWorld::m_minPoints [private]

Definition at line 30 of file ScreenHelloWorld.h.

bool ScreenHelloWorld::m_held [private]

Definition at line 33 of file ScreenHelloWorld.h.

int ScreenHelloWorld::m_x [private]

Definition at line 34 of file ScreenHelloWorld.h.

int ScreenHelloWorld::m_y [private]

Definition at line 34 of file ScreenHelloWorld.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo