C# Class Artemis.Engine.Graphics.AnimationState

Show file Open project: ArtemisEngine/Artemis-Engine

Public Methods

Method Description
AnimationState ( string name, List stepActions, AnimationStateLoopType loopType ) : System
Update ( AnimationMap map ) : void

Private Methods

Method Description
CheckForLoop ( ) : void
JumpTo ( int position ) : void
LoopInDirection ( int terminalStepAction, int nextStepAction_Cycle, int nextStepAction_Reverse ) : void
Reverse ( ) : void

Method Details

AnimationState() public method

public AnimationState ( string name, List stepActions, AnimationStateLoopType loopType ) : System
name string
stepActions List
loopType AnimationStateLoopType
return System

Update() public method

public Update ( AnimationMap map ) : void
map AnimationMap
return void