Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | Related Pages

objects/erik.h

00001 #include "players_common.h" 00002 00003 #define V_JUMP -400 00004 #define V_JUMP2 -500 00005 #define DE_JUMP 200 00006 00014 class Erik : public Player { 00015 public: 00016 Erik(Sint16 xpos=0, Sint16 ypos=0, const ParameterMap& param=ParameterMap()); 00017 virtual ~Erik(); 00018 static ParameterMap default_parameters; 00019 virtual void idle(Uint16); 00021 virtual void in_sp1(); 00023 virtual void in_sp2(); 00024 virtual void in_left(Uint16); 00025 virtual void in_right(Uint16); 00026 virtual void crash(Uint16 dir); 00027 virtual Uint16 hit(Uint16 direction,Weapon& weap); 00028 private: 00029 EmptyAnimationPtr anim_erik_jump_left; 00030 EmptyAnimationPtr anim_erik_jump_right; 00031 EmptyAnimationPtr anim_erik_jump2_left; 00032 EmptyAnimationPtr anim_erik_jump2_right; 00033 EmptyAnimationPtr anim_erik_start_run_left; 00034 EmptyAnimationPtr anim_erik_start_run_right; 00035 EmptyAnimationPtr anim_erik_run_left; 00036 EmptyAnimationPtr anim_erik_run_right; 00037 EmptyAnimationPtr anim_erik_swim_left; 00038 EmptyAnimationPtr anim_erik_swim_right; 00039 EmptyAnimationPtr anim_erik_swim_up_left; 00040 EmptyAnimationPtr anim_erik_swim_up_right; 00041 EmptyAnimationPtr anim_erik_hit_water_left; 00042 EmptyAnimationPtr anim_erik_hit_water_right; 00043 Mix_Chunk* au_jump; 00044 Mix_Chunk* au_run; 00045 Sint16 jump,jump2; 00046 bool run_right; 00047 };

Generated on Sun Feb 5 13:02:35 2006 for Lost Penguins by doxygen 1.3.8