C# Class AStarTest.Map

Afficher le fichier Open project: tomba/dwarrowdelf Class Usage Examples

Méthodes publiques

Méthode Description
GetBlocked ( IntVector3 p ) : bool
GetStairs ( IntVector3 p ) : Stairs
GetWeight ( IntVector3 p ) : int
Map ( int width, int height, int depth ) : System
SetBlocked ( IntVector3 p, bool blocked ) : void
SetStairs ( IntVector3 p, Stairs stairs ) : void
SetWeight ( IntVector3 p, int weight ) : void

Method Details

GetBlocked() public méthode

public GetBlocked ( IntVector3 p ) : bool
p IntVector3
Résultat bool

GetStairs() public méthode

public GetStairs ( IntVector3 p ) : Stairs
p IntVector3
Résultat Stairs

GetWeight() public méthode

public GetWeight ( IntVector3 p ) : int
p IntVector3
Résultat int

Map() public méthode

public Map ( int width, int height, int depth ) : System
width int
height int
depth int
Résultat System

SetBlocked() public méthode

public SetBlocked ( IntVector3 p, bool blocked ) : void
p IntVector3
blocked bool
Résultat void

SetStairs() public méthode

public SetStairs ( IntVector3 p, Stairs stairs ) : void
p IntVector3
stairs Stairs
Résultat void

SetWeight() public méthode

public SetWeight ( IntVector3 p, int weight ) : void
p IntVector3
weight int
Résultat void