Dragonfly 4.20
A text-based game engine
|
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 |
df::EventStep::EventStep | ( | ) |
Iteration number of game loop.
Default constructor.
df::EventStep::EventStep | ( | int | init_step_count | ) |
Constructor with initial step count.
int df::EventStep::getStepCount | ( | ) | const |
Get step count.
void df::EventStep::setStepCount | ( | int | new_step_count | ) |
Set step count.