C# Class MiningGame.Code.Animateable

Show file Open project: geel9/Minor-Destruction

Public Properties

Property Type Description
CurAnimation Animation
CurrentFrame int
Looping bool
Playing bool

Public Methods

Method Description
AnimationUpdate ( ) : void
GetControlPoint ( string name ) : AnimationControlPoint
GetCurrentFrame ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
GotoAndStart ( int frame ) : void
GotoAndStop ( int frame ) : void
IndexOfFrame ( string name ) : int
SetAnimation ( Animation a ) : void
Start ( ) : void
StartLooping ( int start, int end ) : void
StartLooping ( string start, string end ) : void
Stop ( ) : void
StopLooping ( ) : void

Method Details

AnimationUpdate() public method

public AnimationUpdate ( ) : void
return void

GetControlPoint() public method

public GetControlPoint ( string name ) : AnimationControlPoint
name string
return MiningGame.Code.Structs.AnimationControlPoint

GetCurrentFrame() public method

public GetCurrentFrame ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
return Microsoft.Xna.Framework.Graphics.Texture2D

GotoAndStart() public method

public GotoAndStart ( int frame ) : void
frame int
return void

GotoAndStop() public method

public GotoAndStop ( int frame ) : void
frame int
return void

IndexOfFrame() public method

public IndexOfFrame ( string name ) : int
name string
return int

SetAnimation() public method

public SetAnimation ( Animation a ) : void
a Animation
return void

Start() public method

public Start ( ) : void
return void

StartLooping() public method

public StartLooping ( int start, int end ) : void
start int
end int
return void

StartLooping() public method

public StartLooping ( string start, string end ) : void
start string
end string
return void

Stop() public method

public Stop ( ) : void
return void

StopLooping() public method

public StopLooping ( ) : void
return void

Property Details

CurAnimation public property

public Animation,MiningGame.Code CurAnimation
return Animation

CurrentFrame public property

public int CurrentFrame
return int

Looping public property

public bool Looping
return bool

Playing public property

public bool Playing
return bool