C# Class FlatRedBall.Content.SpriteGrid.AnimationChainGridSave

显示文件 Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
FirstPaintedY float
ReferenceGrid ReferencedAnimationChain[][]

Public Methods

Method Description
FromAnimationChainGrid ( TextureGrid animationChainGrid ) : AnimationChainGridSave
FromXElement ( System element ) : AnimationChainGridSave
MakeRelative ( ) : void
ToAnimationChainGrid ( string contentManagerName, float gridSpacing ) : TextureGrid

Private Methods

Method Description
ToAnimationChainReferenceArrayArray ( System element ) : ReferencedAnimationChain[][]

Method Details

FromAnimationChainGrid() public static method

public static FromAnimationChainGrid ( TextureGrid animationChainGrid ) : AnimationChainGridSave
animationChainGrid TextureGrid
return AnimationChainGridSave

FromXElement() public static method

public static FromXElement ( System element ) : AnimationChainGridSave
element System
return AnimationChainGridSave

MakeRelative() public method

public MakeRelative ( ) : void
return void

ToAnimationChainGrid() public method

public ToAnimationChainGrid ( string contentManagerName, float gridSpacing ) : TextureGrid
contentManagerName string
gridSpacing float
return TextureGrid

Property Details

FirstPaintedY public_oe property

public float FirstPaintedY
return float

ReferenceGrid public_oe property

public ReferencedAnimationChain[][] ReferenceGrid
return ReferencedAnimationChain[][]