#include <olaf.h>
Inheritance diagram for Olaf:
Public Member Functions | |
Olaf (Sint16 xpos=0, Sint16 ypos=0, const ParameterMap ¶m=ParameterMap()) | |
virtual void | updateAnimState () |
Additionally checks if Olaf is small and how he wears his shield. | |
virtual void | in_left (Uint16) |
virtual void | in_right (Uint16) |
virtual void | in_down () |
Olaf tries to shrink (if he was big). | |
virtual void | in_up () |
Olaf tries to get big again (if he was small). | |
virtual void | in_sp1 () |
Olaf switches his shield state if possible. | |
virtual void | in_sp2 () |
Olaf farts. | |
virtual void | fall (Uint16) |
virtual Uint16 | hit (Uint16 direction, Weapon &weap) |
Weapon hits. | |
Static Public Attributes | |
ParameterMap | default_parameters |
Act1: Farted
Act2: Farted from ground
|
Calculates the speed of the character
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.
|