|
Oolite
|
#include <OOTrumble.h>
Inheritance diagram for OOTrumble:
Collaboration diagram for OOTrumble:Instance Methods | |
| (id) | - initForPlayer: |
| (id) | - initForPlayer:digram: |
| (void) | - setupForPlayer:digram: |
| (void) | - spawnFrom: |
| (void) | - calcGrowthRate |
| (unichar *) | - digram |
| (NSPoint) | - position |
| (NSPoint) | - movement |
| (GLfloat) | - rotation |
| (GLfloat) | - size |
| (GLfloat) | - hunger |
| (GLfloat) | - discomfort |
| (void) | - actionIdle |
| (void) | - actionBlink |
| (void) | - actionSnarl |
| (void) | - actionProot |
| (void) | - actionShudder |
| (void) | - actionStoned |
| (void) | - actionPop |
| (void) | - actionSleep |
| (void) | - actionSpawn |
| (void) | - randomizeMotionX |
| (void) | - randomizeMotionY |
| (void) | - drawTrumble: |
| (void) | - updateTrumble: |
| (void) | - updateIdle: |
| (void) | - updateBlink: |
| (void) | - updateSnarl: |
| (void) | - updateProot: |
| (void) | - updateShudder: |
| (void) | - updateStoned: |
| (void) | - updatePop: |
| (void) | - updateSleep: |
| (void) | - updateSpawn: |
| (NSDictionary *) | - dictionary |
| (void) | - setFromDictionary: |
| (id) | - init [implementation] |
| (void) | - dealloc [implementation] |
Private Attributes | |
| PlayerEntity * | player |
| unichar | digram [2] |
| GLfloat | colorBase [4] |
| GLfloat | colorPoint1 [4] |
| GLfloat | colorPoint2 [4] |
| GLfloat | colorEyes [4] |
| GLfloat * | pointColor [6] |
| GLfloat | hunger |
| GLfloat | discomfort |
| GLfloat | size |
| GLfloat | max_size |
| GLfloat | growth_rate |
| GLfloat | rotation |
| GLfloat | rotational_velocity |
| NSPoint | position |
| NSPoint | movement |
| NSPoint | eye_position |
| NSPoint | mouth_position |
| double | animationTime |
| double | animationDuration |
| enum trumble_animation | animation |
| enum trumble_animation | nextAnimation |
| int | animationStage |
| enum trumble_mouth | mouthFrame |
| enum trumble_eyes | eyeFrame |
| OOTexture * | texture |
| GLfloat | saved_float1 |
| GLfloat | saved_float2 |
| BOOL | readyToSpawn |
Definition at line 70 of file OOTrumble.h.
| - (void) actionBlink |
Definition at line 1001 of file OOTrumble.m.
References OOSoundSource::playSound:, OOSoundSource::setPosition:, sTrumbleIdleSound, and sTrumbleSoundSource.
Here is the call graph for this function:| - (void) actionIdle |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionPop |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionProot |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionShudder |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionSleep |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionSnarl |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionSpawn |
Definition at line 1001 of file OOTrumble.m.
| - (void) actionStoned |
Definition at line 1001 of file OOTrumble.m.
| - (void) calcGrowthRate |
Definition at line 1001 of file OOTrumble.m.
|
implementation |
Definition at line 1001 of file OOTrumble.m.
| - (NSDictionary *) dictionary |
Definition at line 1001 of file OOTrumble.m.
| - (unichar *) digram |
| - (GLfloat) discomfort |
| - (void) drawTrumble: | (double) | z |
Definition at line 1001 of file OOTrumble.m.
| - (GLfloat) hunger |
|
implementation |
Definition at line 1001 of file OOTrumble.m.
| - (id) initForPlayer: | (PlayerEntity *) | p1 |
Definition at line 1001 of file OOTrumble.m.
| - (id) initForPlayer: | (PlayerEntity *) | p1 | |
| digram: | (NSString*) | digramString | |
Definition at line 1001 of file OOTrumble.m.
| - (NSPoint) movement |
| - (NSPoint) position |
| - (void) randomizeMotionX |
Definition at line 1001 of file OOTrumble.m.
| - (void) randomizeMotionY |
Definition at line 1001 of file OOTrumble.m.
| - (GLfloat) rotation |
| - (void) setFromDictionary: | (NSDictionary *) | dict |
Definition at line 1001 of file OOTrumble.m.
| - (void) setupForPlayer: | (PlayerEntity *) | p1 | |
| digram: | (NSString*) | digramString | |
Definition at line 1001 of file OOTrumble.m.
| - (GLfloat) size |
| - (void) spawnFrom: | (OOTrumble *) | parentTrumble |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateBlink: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateIdle: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updatePop: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateProot: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateShudder: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateSleep: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateSnarl: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateSpawn: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateStoned: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
| - (void) updateTrumble: | (double) | delta_t |
Definition at line 1001 of file OOTrumble.m.
|
private |
Definition at line 102 of file OOTrumble.h.
|
private |
Definition at line 100 of file OOTrumble.h.
|
private |
Definition at line 105 of file OOTrumble.h.
|
private |
Definition at line 99 of file OOTrumble.h.
|
private |
Definition at line 77 of file OOTrumble.h.
|
private |
Definition at line 80 of file OOTrumble.h.
|
private |
Definition at line 78 of file OOTrumble.h.
|
private |
Definition at line 79 of file OOTrumble.h.
|
private |
Definition at line 75 of file OOTrumble.h.
|
private |
Definition at line 84 of file OOTrumble.h.
|
private |
Definition at line 96 of file OOTrumble.h.
|
private |
Definition at line 108 of file OOTrumble.h.
|
private |
Definition at line 88 of file OOTrumble.h.
|
private |
Definition at line 83 of file OOTrumble.h.
|
private |
Definition at line 87 of file OOTrumble.h.
|
private |
Definition at line 97 of file OOTrumble.h.
|
private |
Definition at line 107 of file OOTrumble.h.
|
private |
Definition at line 94 of file OOTrumble.h.
|
private |
Definition at line 103 of file OOTrumble.h.
|
private |
Definition at line 73 of file OOTrumble.h.
|
private |
Definition at line 81 of file OOTrumble.h.
|
private |
Definition at line 93 of file OOTrumble.h.
|
private |
Definition at line 114 of file OOTrumble.h.
|
private |
Definition at line 90 of file OOTrumble.h.
|
private |
Definition at line 91 of file OOTrumble.h.
|
private |
Definition at line 112 of file OOTrumble.h.
|
private |
Definition at line 112 of file OOTrumble.h.
|
private |
Definition at line 86 of file OOTrumble.h.
|
private |
Definition at line 110 of file OOTrumble.h.