C# Class Treefrog.Runtime.Tile

Mostrar archivo Open project: jaquadro/Treefrog Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, Rectangle dest, Color color, float layerDepth ) : void
Draw ( SpriteBatch spriteBatch, Rectangle dest, float opacity, float layerDepth ) : void
Tile ( int id, TileSet tileset, int x, int y ) : System

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch, Rectangle dest, Color color, float layerDepth ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
dest Microsoft.Xna.Framework.Rectangle
color Color
layerDepth float
return void

Draw() public method

public Draw ( SpriteBatch spriteBatch, Rectangle dest, float opacity, float layerDepth ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
dest Microsoft.Xna.Framework.Rectangle
opacity float
layerDepth float
return void

Tile() public method

public Tile ( int id, TileSet tileset, int x, int y ) : System
id int
tileset TileSet
x int
y int
return System