C# Class PlayDead.Map

Afficher le fichier Open project: zmthy/play-dead Class Usage Examples

Méthodes publiques

Свойство Type Description
height int
width int

Méthodes publiques

Méthode Description
DrawMap ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : void
Map ( GraphicsDevice graphics, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : System
Set ( int y, int x, Tile currentTile ) : void
getType ( int y, int x ) : Tile

Method Details

DrawMap() public méthode

public DrawMap ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
tileSheet Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

Map() public méthode

public Map ( GraphicsDevice graphics, Microsoft.Xna.Framework.Graphics.Texture2D tileSheet ) : System
graphics GraphicsDevice
tileSheet Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

Set() public méthode

public Set ( int y, int x, Tile currentTile ) : void
y int
x int
currentTile Tile
Résultat void

getType() public static méthode

public static getType ( int y, int x ) : Tile
y int
x int
Résultat Tile

Property Details

height public_oe static_oe property

public static int height
Résultat int

width public_oe static_oe property

public static int width
Résultat int