C# Class FlatRedBall_Spriter.SpriterObject

Inheritance: FlatRedBallExtensions.ScaledPositionedObject
Mostra file Open project: kainazzzo/flatredball-spriter Class Usage Examples

Private Properties

Property Type Description
AddToManagersBottomUp void
InitializeSpriterObject void
OnAnimationFinished void
ResetAnimation void
RestartAnimationWithWrapping void
SetAllObjectValuesToCurrentFrame void
SetInterpolatedValues void
UpdateAllObjectDependencies void
UpdateCollisionBoxes void

Public Methods

Method Description
AddToManagers ( ) : void
AddToManagers ( Layer layerToAddTo ) : void
Clone ( ) : SpriterObject
Destroy ( ) : void
GetPercentageIntoFrame ( float secondsIntoAnimation, float currentKeyFrameTime, float nextKeyFrameTime ) : float
LoadStaticContent ( string contentManagerName ) : void
PostInitialize ( ) : void
SpriterObject ( string contentManagerName ) : System
SpriterObject ( string contentManagerName, bool addToManagers ) : System
StartAnimation ( ) : void
StartAnimation ( string animationName ) : void
TimedActivity ( float secondDifference, double secondDifferenceSquaredDividedByTwo, float secondsPassedLastFrame ) : void
UnloadStaticContent ( ) : void

Private Methods

Method Description
AddToManagersBottomUp ( Layer layerToAddTo ) : void
InitializeSpriterObject ( bool addToManagers ) : void
OnAnimationFinished ( SpriterObjectAnimation animation ) : void
ResetAnimation ( ) : void
RestartAnimationWithWrapping ( ) : void
SetAllObjectValuesToCurrentFrame ( ) : void
SetInterpolatedValues ( KeyFrameValues>.KeyValuePair currentPair, float percentage ) : void
UpdateAllObjectDependencies ( ) : void
UpdateCollisionBoxes ( ) : void

Method Details

AddToManagers() public method

public AddToManagers ( ) : void
return void

AddToManagers() public method

public AddToManagers ( Layer layerToAddTo ) : void
layerToAddTo Layer
return void

Clone() public method

public Clone ( ) : SpriterObject
return SpriterObject

Destroy() public method

public Destroy ( ) : void
return void

GetPercentageIntoFrame() public static method

public static GetPercentageIntoFrame ( float secondsIntoAnimation, float currentKeyFrameTime, float nextKeyFrameTime ) : float
secondsIntoAnimation float
currentKeyFrameTime float
nextKeyFrameTime float
return float

LoadStaticContent() public static method

public static LoadStaticContent ( string contentManagerName ) : void
contentManagerName string
return void

PostInitialize() public method

public PostInitialize ( ) : void
return void

SpriterObject() public method

public SpriterObject ( string contentManagerName ) : System
contentManagerName string
return System

SpriterObject() public method

public SpriterObject ( string contentManagerName, bool addToManagers ) : System
contentManagerName string
addToManagers bool
return System

StartAnimation() public method

public StartAnimation ( ) : void
return void

StartAnimation() public method

public StartAnimation ( string animationName ) : void
animationName string
return void

TimedActivity() public method

public TimedActivity ( float secondDifference, double secondDifferenceSquaredDividedByTwo, float secondsPassedLastFrame ) : void
secondDifference float
secondDifferenceSquaredDividedByTwo double
secondsPassedLastFrame float
return void

UnloadStaticContent() public static method

public static UnloadStaticContent ( ) : void
return void