Dragonfly  4.4
A text-based game engine
Public Member Functions | Private Attributes | List of all members
df::EventStep Class Reference
Inheritance diagram for df::EventStep:
Inheritance graph
Collaboration diagram for df::EventStep:
Collaboration graph

Public Member Functions

 EventStep ()
 EventStep (int init_step_count)
void setStepCount (int new_step_count)
int getStepCount () const
- Public Member Functions inherited from df::Event
 Event ()
virtual ~Event ()
void setType (std::string new_type)
std::string getType () const

Private Attributes

int m_step_count

Constructor & Destructor Documentation

df::EventStep::EventStep ( )

Iteration number of game loop.

Default constructor.

df::EventStep::EventStep ( int  init_step_count)

Constructor with initial step count.

Member Function Documentation

int df::EventStep::getStepCount ( ) const

Get step count.

void df::EventStep::setStepCount ( int  new_step_count)

Set step count.