C# 클래스 AStarXNA.GridCell

상속: GameObject
파일 보기 프로젝트 열기: dreasgrech/AStarXNA 1 사용 예제들

공개 메소드들

메소드 설명
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