C# Class AStarXNA.GridCell

Inheritance: GameObject
Afficher le fichier Open project: dreasgrech/AStarXNA Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void
Draw ( GameTime gameTime ) : void
GetPath ( ) : IEnumerable
GridCell ( Microsoft.Xna.Framework.Game game, GridCellType type, Point position, Point screenCoordinates, int width, int height ) : System
IsOrthagonalWith ( GridCell otherCell ) : bool
Reset ( ) : void
ToString ( ) : string

Private Methods

Méthode Description
GetColor ( GridCellType type ) : Color

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Draw() public méthode

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

GetPath() public méthode

public GetPath ( ) : IEnumerable
Résultat IEnumerable

GridCell() public méthode

public GridCell ( Microsoft.Xna.Framework.Game game, GridCellType type, Point position, Point screenCoordinates, int width, int height ) : System
game Microsoft.Xna.Framework.Game
type GridCellType
position Point
screenCoordinates Point
width int
height int
Résultat System

IsOrthagonalWith() public méthode

public IsOrthagonalWith ( GridCell otherCell ) : bool
otherCell GridCell
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string