C# Class EpPathFinding.cs.StaticGrid

Inheritance: BaseGrid
Afficher le fichier Open project: juhgiyo/EpPathFinding.cs Class Usage Examples

Méthodes publiques

Méthode Description
Clone ( ) : BaseGrid
GetNodeAt ( EpPathFinding.cs.GridPos iPos ) : Node
GetNodeAt ( int iX, int iY ) : Node
IsWalkableAt ( EpPathFinding.cs.GridPos iPos ) : bool
IsWalkableAt ( int iX, int iY ) : bool
Reset ( ) : void
Reset ( bool iMatrix ) : void
SetWalkableAt ( EpPathFinding.cs.GridPos iPos, bool iWalkable ) : bool
SetWalkableAt ( int iX, int iY, bool iWalkable ) : bool
StaticGrid ( StaticGrid b ) : System
StaticGrid ( int iWidth, int iHeight, bool iMatrix = null ) : System

Méthodes protégées

Méthode Description
isInside ( EpPathFinding.cs.GridPos iPos ) : bool
isInside ( int iX, int iY ) : bool

Private Methods

Méthode Description
buildNodes ( int iWidth, int iHeight, bool iMatrix ) : EpPathFinding.cs.Node[][]

Method Details

Clone() public méthode

public Clone ( ) : BaseGrid
Résultat BaseGrid

GetNodeAt() public méthode

public GetNodeAt ( EpPathFinding.cs.GridPos iPos ) : Node
iPos EpPathFinding.cs.GridPos
Résultat Node

GetNodeAt() public méthode

public GetNodeAt ( int iX, int iY ) : Node
iX int
iY int
Résultat Node

IsWalkableAt() public méthode

public IsWalkableAt ( EpPathFinding.cs.GridPos iPos ) : bool
iPos EpPathFinding.cs.GridPos
Résultat bool

IsWalkableAt() public méthode

public IsWalkableAt ( int iX, int iY ) : bool
iX int
iY int
Résultat bool

Reset() public méthode

public Reset ( ) : void
Résultat void

Reset() public méthode

public Reset ( bool iMatrix ) : void
iMatrix bool
Résultat void

SetWalkableAt() public méthode

public SetWalkableAt ( EpPathFinding.cs.GridPos iPos, bool iWalkable ) : bool
iPos EpPathFinding.cs.GridPos
iWalkable bool
Résultat bool

SetWalkableAt() public méthode

public SetWalkableAt ( int iX, int iY, bool iWalkable ) : bool
iX int
iY int
iWalkable bool
Résultat bool

StaticGrid() public méthode

public StaticGrid ( StaticGrid b ) : System
b StaticGrid
Résultat System

StaticGrid() public méthode

public StaticGrid ( int iWidth, int iHeight, bool iMatrix = null ) : System
iWidth int
iHeight int
iMatrix bool
Résultat System

isInside() protected méthode

protected isInside ( EpPathFinding.cs.GridPos iPos ) : bool
iPos EpPathFinding.cs.GridPos
Résultat bool

isInside() protected méthode

protected isInside ( int iX, int iY ) : bool
iX int
iY int
Résultat bool