#include <actions.h>
Inheritance diagram for If_else_path_actor_action:
Public Member Functions | |
If_else_path_actor_action (Actor *actor, Tile_coord dest, Actor_action *s, Actor_action *f=0) | |
~If_else_path_actor_action () | |
void | set_failure (Actor_action *f) |
bool | done_and_failed () |
virtual int | handle_event (Actor *actor) |
virtual If_else_path_actor_action * | as_usecode_path () |
Private Attributes | |
bool | succeeded |
bool | failed |
bool | done |
Actor_action * | success |
Actor_action * | failure |
Definition at line 142 of file actions.h.
If_else_path_actor_action::If_else_path_actor_action | ( | Actor * | actor, | |
Tile_coord | dest, | |||
Actor_action * | s, | |||
Actor_action * | f = 0 | |||
) |
Definition at line 539 of file actions.cc.
References Game_object::get_tile().
Here is the call graph for this function:
If_else_path_actor_action::~If_else_path_actor_action | ( | ) |
Definition at line 559 of file actions.cc.
void If_else_path_actor_action::set_failure | ( | Actor_action * | f | ) |
Definition at line 571 of file actions.cc.
Referenced by Usecode_internal::path_run_usecode(), and Usecode_internal::UI_set_path_failure().
bool If_else_path_actor_action::done_and_failed | ( | ) | [inline] |
int If_else_path_actor_action::handle_event | ( | Actor * | actor | ) | [virtual] |
Reimplemented from Path_walking_actor_action.
Definition at line 587 of file actions.cc.
References Path_walking_actor_action::handle_event().
Here is the call graph for this function:
virtual If_else_path_actor_action* If_else_path_actor_action::as_usecode_path | ( | ) | [inline, virtual] |
bool If_else_path_actor_action::succeeded [private] |
bool If_else_path_actor_action::failed [private] |
bool If_else_path_actor_action::done [private] |
Actor_action* If_else_path_actor_action::success [private] |
Actor_action * If_else_path_actor_action::failure [private] |