Property | Type | Description | |
---|---|---|---|
attackMelee | string | ||
character | Character | ||
crounchIdle | string | ||
crounchWalk | string | ||
fenceDown | string | ||
fenceIdle | string | ||
fenceLeft | string | ||
fenceRight | string | ||
fenceUp | string | ||
grabbing | string | ||
idle | string | ||
jump | string | ||
ladder | string | ||
maxSlope | float | ||
pulling | string | ||
pushing | string | ||
rope | string | ||
rotateOnSlopes | bool | ||
slipping | string | ||
swimming | string | ||
walk | string | ||
wallsliding | string |
Method | Description | |
---|---|---|
GetAnimationLength ( string animation ) : float |
Get animation length in seconds
|
|
LatePlatformerUpdate ( float delta ) : void |
do nothing
|
|
OnAreaChange ( Areas before, Areas after ) : void |
Not used atm
|
|
OnDisable ( ) : void |
sync UpdateManager
|
|
OnEnable ( ) : void |
sync UpdateManager
|
|
OnInjuredCharacter ( |
Not used atm
|
|
OnStateChange ( States before, States after ) : void |
Not used atm
|
|
PlatformerUpdate ( float delta ) : void |
Calculate what animation to play and do it!
|
|
Play ( string animation ) : void |
Play animation NOTE this method should check that it's not currently playing the given animation, because each PlatformerUpdate you will recieve the same animation
|
|
PlaybackSpeed ( float speed ) : void |
Set playback speed. 1: normal\n 0-1: slow-motion\n >1: fast-motion
|
|
Start ( ) : void |
Start listening
|
|
StartPlayback ( ) : void |
Continue playing current animation
|
|
StopPlayback ( ) : void |
Stop current animation
|
public abstract GetAnimationLength ( string animation ) : float | ||
animation | string | |
return | float |
public LatePlatformerUpdate ( float delta ) : void | ||
delta | float | |
return | void |
public OnAreaChange ( Areas before, Areas after ) : void | ||
before | Areas | |
after | Areas | |
return | void |
public OnInjuredCharacter ( |
||
dt | ||
h | ||
to | Character | |
return | void |
public OnStateChange ( States before, States after ) : void | ||
before | States | |
after | States | |
return | void |
public PlatformerUpdate ( float delta ) : void | ||
delta | float | |
return | void |
public abstract Play ( string animation ) : void | ||
animation | string | |
return | void |
public abstract PlaybackSpeed ( float speed ) : void | ||
speed | float | |
return | void |