|
#pragma once
class Act;
class Director
{
public:
enum ActId
{
None,
Intro,
Play,
EndCredits
};
public:
Director(void);
~Director(void);
void initAllActs();
void addAct(Director::ActId id, Act* pAct);
void drawAct();
void activateAct(Director::ActId id);
void setTimer(ITimer* m_pTimer);
Act* getCurrentAct();
protected:
Act* m_pCurrectAct;
ActId m_actCurrentId;
std::map<ActId, Act*> m_mapActs;
ITimer* m_pTimer;
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm from Belgium, happily (should my wife ever read this) married and have two boys.
After a first attempt on the Atari during college in
an old foreign dialect of basic, via Pascal I am now
developing mostly in VC++ / VB / C#.