C# Class SuperCaissiere.Engine.World.Tile

Grid case.
Datei anzeigen Open project: valryon/super-caissiere Class Usage Examples

Public Properties

Property Type Description
DestRect Microsoft.Xna.Framework.Rectangle
SourceRect Microsoft.Xna.Framework.Rectangle
Spritesheet string

Public Methods

Method Description
Clone ( ) : Tile
Tile ( string assetName, Rectangle srcRect ) : Microsoft.Xna.Framework

Method Details

Clone() public method

public Clone ( ) : Tile
return Tile

Tile() public method

public Tile ( string assetName, Rectangle srcRect ) : Microsoft.Xna.Framework
assetName string
srcRect Microsoft.Xna.Framework.Rectangle
return Microsoft.Xna.Framework

Property Details

DestRect public_oe property

public Rectangle,Microsoft.Xna.Framework DestRect
return Microsoft.Xna.Framework.Rectangle

SourceRect public_oe property

public Rectangle,Microsoft.Xna.Framework SourceRect
return Microsoft.Xna.Framework.Rectangle

Spritesheet public_oe property

public string Spritesheet
return string