If_else_path_actor_action Class Reference

#include <actions.h>

Inheritance diagram for If_else_path_actor_action:

Inheritance graph
[legend]
Collaboration diagram for If_else_path_actor_action:

Collaboration graph
[legend]
List of all members.

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_actionas_usecode_path ()

Private Attributes

bool succeeded
bool failed
bool done
Actor_actionsuccess
Actor_actionfailure

Detailed Description

Definition at line 142 of file actions.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Definition at line 151 of file actions.h.

References done, and failed.

Referenced by Usecode_internal::path_run_usecode().

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]

Reimplemented from Actor_action.

Definition at line 155 of file actions.h.


Member Data Documentation

bool If_else_path_actor_action::succeeded [private]

Definition at line 144 of file actions.h.

bool If_else_path_actor_action::failed [private]

Definition at line 144 of file actions.h.

Referenced by done_and_failed().

bool If_else_path_actor_action::done [private]

Definition at line 144 of file actions.h.

Referenced by done_and_failed().

Actor_action* If_else_path_actor_action::success [private]

Definition at line 145 of file actions.h.

Actor_action * If_else_path_actor_action::failure [private]

Definition at line 145 of file actions.h.


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:55:48 2007 for ExultEngine by  doxygen 1.5.1