SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
|
Public Member Functions | |
travel_event_t (action_t *a, action_state_t *state, timespan_t time_to_travel) | |
void | execute () override |
const char * | name () const override |
Public Member Functions inherited from event_t | |
event_t (sim_t &s, actor_t *a=nullptr) | |
event_t (actor_t &a) | |
event_t (sim_t &s, timespan_t delta_time) | |
event_t (actor_t &a, timespan_t delta_time) | |
timespan_t | occurs () const |
timespan_t | remains () const |
void | schedule (timespan_t delta_time) |
Schedule event on the event manager. | |
void | reschedule (timespan_t delta_time) |
sim_t & | sim () |
const sim_t & | sim () const |
rng::rng_t & | rng () |
Public Attributes | |
action_t * | action |
action_state_t * | state |
Public Attributes inherited from event_t | |
sim_t & | _sim |
event_t * | next |
timespan_t | time |
timespan_t | reschedule_time |
unsigned | id |
bool | canceled |
bool | recycled |
bool | scheduled |
Additional Inherited Members | |
Static Public Member Functions inherited from event_t | |
template<class T > | |
static void | cancel (T &e) |
static void | cancel (event_t *&e) |
Static Protected Member Functions inherited from event_t | |
static void * | operator new (std::size_t size, sim_t &sim) |
Placement-new operator for creating events. Do not use in user-code. | |
static void | operator delete (void *, sim_t &) |
static void | operator delete (void *) |
static void * | operator new (std::size_t)=delete |