C# Class DodongosQuest.Terrain.Terrain

Inheritance: ITerrain
Afficher le fichier Open project: faintpixel/Roguelike

Méthodes publiques

Méthode Description
AffectCreature ( ICreature creature ) : void
CanCreatureEnter ( ICreature creature ) : bool
Draw ( GameTime gameTime ) : void
DrawMiniMap ( GameTime gameTime, Vector2 position ) : void
Terrain ( string name, Microsoft.Xna.Framework.Graphics.Texture2D tileImage, bool obstructsLineOfSight, List allowedMovementTypes, Color miniMapColor, Vector2 worldIndex, World world ) : System
Update ( GameTime gameTime ) : void

Method Details

AffectCreature() public méthode

public AffectCreature ( ICreature creature ) : void
creature ICreature
Résultat void

CanCreatureEnter() public méthode

public CanCreatureEnter ( ICreature creature ) : bool
creature ICreature
Résultat bool

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

DrawMiniMap() public méthode

public DrawMiniMap ( GameTime gameTime, Vector2 position ) : void
gameTime Microsoft.Xna.Framework.GameTime
position Vector2
Résultat void

Terrain() public méthode

public Terrain ( string name, Microsoft.Xna.Framework.Graphics.Texture2D tileImage, bool obstructsLineOfSight, List allowedMovementTypes, Color miniMapColor, Vector2 worldIndex, World world ) : System
name string
tileImage Microsoft.Xna.Framework.Graphics.Texture2D
obstructsLineOfSight bool
allowedMovementTypes List
miniMapColor Color
worldIndex Vector2
world World
Résultat System

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void