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

显示文件 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_oe property

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

TextureID public_oe 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