C# Class GridManager, Unity3D

Inheritance: MonoBehaviour
Afficher le fichier Open project: k-lock/Unity3D Class Usage Examples

Méthodes publiques

Méthode Description
ClearLogic ( ) : void
ClearSquares ( ) : void
ExistPath ( ) : bool
GetNextPoint ( Point point ) : Point
GridManager ( MeshBoard, meshboard, int typ ) : System
HighlightPath ( ) : void
InitMovements ( int movementCount ) : void
Pathfind ( ) : void

Private Methods

Méthode Description
AllSquares ( ) : IEnumerable
FindCode ( TileContent, contentIn ) : Point
GenerateTile ( int _x, int _y ) : Tile,
SquareOpen ( int x, int y ) : bool
ValidCoordinates ( int x, int y ) : bool
ValidMoves ( int x, int y ) : IEnumerable

Method Details

ClearLogic() public méthode

public ClearLogic ( ) : void
Résultat void

ClearSquares() public méthode

public ClearSquares ( ) : void
Résultat void

ExistPath() public méthode

public ExistPath ( ) : bool
Résultat bool

GetNextPoint() public méthode

public GetNextPoint ( Point point ) : Point
point Point
Résultat Point

GridManager() public méthode

public GridManager ( MeshBoard, meshboard, int typ ) : System
meshboard MeshBoard,
typ int
Résultat System

HighlightPath() public méthode

public HighlightPath ( ) : void
Résultat void

InitMovements() public méthode

public InitMovements ( int movementCount ) : void
movementCount int
Résultat void

Pathfind() public méthode

public Pathfind ( ) : void
Résultat void