C# Class Artemis.Engine.Graphics.SpriteSheet.Tile

Show file Open project: ArtemisEngine/Artemis-Engine

Public Properties

Property Type Description
Rectangle Microsoft.Xna.Framework.Rectangle
TextureID int

Public Methods

Method Description
Tile ( int id, Rectangle rectangle ) : System.Collections.Generic

Method Details

Tile() public method

public Tile ( int id, Rectangle rectangle ) : System.Collections.Generic
id int
rectangle Microsoft.Xna.Framework.Rectangle
return System.Collections.Generic

Property Details

Rectangle public property

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

TextureID public property

The index of the texture associated with this rectangle in the list of LoadedTextures (not a property of TextureReference, but of the SpriteSheet a TextureReference belongs to).
public int TextureID
return int