C# Класс AStarXNA.GridCell

Наследование: GameObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetColor ( GridCellType type ) : Color

Описание методов

Clear() публичный Метод

public Clear ( ) : void
Результат void

Draw() публичный Метод

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Результат void

GetPath() публичный Метод

public GetPath ( ) : IEnumerable
Результат IEnumerable

GridCell() публичный Метод

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
Результат System

IsOrthagonalWith() публичный Метод

public IsOrthagonalWith ( GridCell otherCell ) : bool
otherCell GridCell
Результат bool

Reset() публичный Метод

public Reset ( ) : void
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string