#import <Lemming.h>
Public Member Functions | |
(void) | - changeState: |
(void) | - changeState:afterDelay: |
(void) | - changeDirection |
(void) | - takePath: |
(int) | - respawns |
(void) | - onObjectCollision: |
(void) | - onEndConditionReached |
(void) | - updateDebugLabel |
Protected Attributes | |
int | respawns |
int | fallCounter |
CCSpriteFrame * | standingFrame |
Direction | movementDirection |
GameObjectType | objectLastCollidedWith |
BOOL | isUsingHelmet |
BOOL | isUsingUmbrella |
BOOL | umbrellaEquipped |
int | umbrellaTimer |
int | spawnTime |
int | actionsTaken |
Properties | |
int | health |
CharacterStates | state |
int | helmetUses |
int | umbrellaUses |
CCAnimation * | idleAnim |
CCAnimation * | idleHelmetAnim |
CCAnimation * | walkingAnim |
CCAnimation * | walkingHelmetAnim |
CCAnimation * | openUmbrellaAnim |
CCAnimation * | floatUmbrellaAnim |
CCAnimation * | deathAnim |
int | ID |
CCLabelBMFont * | debugLabel |
- (void) changeDirection |
- (void) changeState: | (CharacterStates) | _newState |
- (void) changeState: | (CharacterStates) | _newState | |
afterDelay: | (float) | _delay | |
- (void) onEndConditionReached |
- (void) onObjectCollision: | (GameObject*) | _object |
- (int) respawns |
- (void) updateDebugLabel |
- (int) actionsTaken [protected] |
- (int) fallCounter [protected] |
- (BOOL) isUsingHelmet [protected] |
- (BOOL) isUsingUmbrella [protected] |
- (Direction) movementDirection [protected] |
- (GameObjectType) objectLastCollidedWith [protected] |
- (int) respawns [protected] |
- (CCSpriteFrame*) standingFrame [protected] |
- (BOOL) umbrellaEquipped [protected] |
- (int) umbrellaTimer [protected] |
- (CCLabelBMFont *) debugLabel [read, write, retain] |
- (CCAnimation *) floatUmbrellaAnim [read, write, retain] |
- (int) helmetUses [read, write, assign] |
- (CCAnimation *) idleHelmetAnim [read, write, retain] |
- (CCAnimation *) openUmbrellaAnim [read, write, retain] |
- (CharacterStates) state [read, write, assign] |
- (int) umbrellaUses [read, write, assign] |
- (CCAnimation *) walkingAnim [read, write, retain] |
- (CCAnimation *) walkingHelmetAnim [read, write, retain] |