C# Class GameMapExtensions, Augmented_Tactics

Afficher le fichier Open project: Kavignon/Augmented_Tactics

Méthodes publiques

Méthode Description
AreInRange ( this gm, CharacterObservable, self ) : IEnumerable
CanMoveAway ( this gm, CharacterObservable, chObs ) : bool
ClearCharacterFromMap ( this gm, CharacterObservable, obs ) : void
FindPlayerCoordinates ( this gm, CharacterObservable, player ) : Cell,
GetAvailableMoveActions ( this gm, CharacterObservable, self ) : IEnumerable
GetNumberCharactersBlockingMovement ( this gm, CharacterObservable, character ) : int
InRange ( this gm, CharacterObservable, self, CharacterObservable, target ) : bool
IsInRange ( this gm, CharacterObservable, self, CharacterObservable, target ) : bool
IsTargetPositionAdjacentToSelf ( this gm, Cell, currentPos, Cell, targetCell ) : bool
PathToTarget ( this gm, Cell, origin, Cell, goal ) : List
PlayersInRange ( this gm, CharacterObservable, self ) : IEnumerable
RemoveTileHighlights ( this gm, int mapSize ) : void

Private Methods

Méthode Description
GetValidCardinalCells ( this gm, Cell, myPos ) : List

Method Details

AreInRange() public static méthode

public static AreInRange ( this gm, CharacterObservable, self ) : IEnumerable
gm this
self CharacterObservable,
Résultat IEnumerable

CanMoveAway() public static méthode

public static CanMoveAway ( this gm, CharacterObservable, chObs ) : bool
gm this
chObs CharacterObservable,
Résultat bool

ClearCharacterFromMap() public static méthode

public static ClearCharacterFromMap ( this gm, CharacterObservable, obs ) : void
gm this
obs CharacterObservable,
Résultat void

FindPlayerCoordinates() public static méthode

public static FindPlayerCoordinates ( this gm, CharacterObservable, player ) : Cell,
gm this
player CharacterObservable,
Résultat Cell,

GetAvailableMoveActions() public static méthode

public static GetAvailableMoveActions ( this gm, CharacterObservable, self ) : IEnumerable
gm this
self CharacterObservable,
Résultat IEnumerable

GetNumberCharactersBlockingMovement() public static méthode

public static GetNumberCharactersBlockingMovement ( this gm, CharacterObservable, character ) : int
gm this
character CharacterObservable,
Résultat int

InRange() public static méthode

public static InRange ( this gm, CharacterObservable, self, CharacterObservable, target ) : bool
gm this
self CharacterObservable,
target CharacterObservable,
Résultat bool

IsInRange() public static méthode

public static IsInRange ( this gm, CharacterObservable, self, CharacterObservable, target ) : bool
gm this
self CharacterObservable,
target CharacterObservable,
Résultat bool

IsTargetPositionAdjacentToSelf() public static méthode

public static IsTargetPositionAdjacentToSelf ( this gm, Cell, currentPos, Cell, targetCell ) : bool
gm this
currentPos Cell,
targetCell Cell,
Résultat bool

PathToTarget() public static méthode

public static PathToTarget ( this gm, Cell, origin, Cell, goal ) : List
gm this
origin Cell,
goal Cell,
Résultat List

PlayersInRange() public static méthode

public static PlayersInRange ( this gm, CharacterObservable, self ) : IEnumerable
gm this
self CharacterObservable,
Résultat IEnumerable

RemoveTileHighlights() public static méthode

public static RemoveTileHighlights ( this gm, int mapSize ) : void
gm this
mapSize int
Résultat void