C# Class AStarTest.Map

Datei anzeigen Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method 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 method

public GetBlocked ( IntVector3 p ) : bool
p IntVector3
return bool

GetStairs() public method

public GetStairs ( IntVector3 p ) : Stairs
p IntVector3
return Stairs

GetWeight() public method

public GetWeight ( IntVector3 p ) : int
p IntVector3
return int

Map() public method

public Map ( int width, int height, int depth ) : System
width int
height int
depth int
return System

SetBlocked() public method

public SetBlocked ( IntVector3 p, bool blocked ) : void
p IntVector3
blocked bool
return void

SetStairs() public method

public SetStairs ( IntVector3 p, Stairs stairs ) : void
p IntVector3
stairs Stairs
return void

SetWeight() public method

public SetWeight ( IntVector3 p, int weight ) : void
p IntVector3
weight int
return void