#include <erik.h>
Inheritance diagram for Erik:


Public Member Functions | |
| Erik (Sint16 xpos=0, Sint16 ypos=0, const ParameterMap ¶m=ParameterMap()) | |
| virtual void | idle (Uint16) | 
| virtual void | in_sp1 () | 
| Erik jumps.  | |
| virtual void | in_sp2 () | 
| Erik runs.  | |
| virtual void | in_left (Uint16) | 
| virtual void | in_right (Uint16) | 
| virtual void | crash (Uint16 dir) | 
| Called when crashing into a dense object (default: ground).   | |
| virtual Uint16 | hit (Uint16 direction, Weapon &weap) | 
| Weapon hits.   | |
Static Public Attributes | |
| ParameterMap | default_parameters | 
Act1: first jump
 Act2: second jump 
Add jump and run attacks
      
  | 
  
| 
 What should the object do all the time? This is run first of all. 
 Reimplemented from Player. 
  | 
  
      
  | 
  
| 
 Called when crashing into a dense object (default: ground). 
 
 
 Reimplemented from Player. 
  | 
  
      
  | 
  ||||||||||||
| 
 Weapon hits. Called when hit by a weapon. Depending on the direction and weapon used, certain effects/events are run. 
 
 Reimplemented from Player. 
  | 
  
 1.3.8