C# Class EpPathFinding.StaticGrid

Inheritance: BaseGrid
Afficher le fichier Open project: OpenNos/OpenNos Class Usage Examples

Méthodes publiques

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

Méthodes protégées

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

Private Methods

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

Method Details

Clone() public méthode

public Clone ( ) : BaseGrid
Résultat BaseGrid

GetNodeAt() public méthode

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

GetNodeAt() public méthode

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

IsInside() protected méthode

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

IsInside() protected méthode

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

IsWalkableAt() public méthode

public IsWalkableAt ( EpPathFinding.GridPos iPos ) : bool
iPos EpPathFinding.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.GridPos iPos, byte iWalkable ) : bool
iPos EpPathFinding.GridPos
iWalkable byte
Résultat bool

SetWalkableAt() public méthode

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

StaticGrid() public méthode

public StaticGrid ( StaticGrid b ) : System.Collections.Generic
b StaticGrid
Résultat System.Collections.Generic

StaticGrid() public méthode

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