C# 클래스 GameMapExtensions, Augmented_Tactics

파일 보기 프로젝트 열기: Kavignon/Augmented_Tactics

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetValidCardinalCells ( this gm, Cell, myPos ) : List

메소드 상세

AreInRange() 공개 정적인 메소드

public static AreInRange ( this gm, CharacterObservable, self ) : IEnumerable
gm this
self CharacterObservable,
리턴 IEnumerable

CanMoveAway() 공개 정적인 메소드

public static CanMoveAway ( this gm, CharacterObservable, chObs ) : bool
gm this
chObs CharacterObservable,
리턴 bool

ClearCharacterFromMap() 공개 정적인 메소드

public static ClearCharacterFromMap ( this gm, CharacterObservable, obs ) : void
gm this
obs CharacterObservable,
리턴 void

FindPlayerCoordinates() 공개 정적인 메소드

public static FindPlayerCoordinates ( this gm, CharacterObservable, player ) : Cell,
gm this
player CharacterObservable,
리턴 Cell,

GetAvailableMoveActions() 공개 정적인 메소드

public static GetAvailableMoveActions ( this gm, CharacterObservable, self ) : IEnumerable
gm this
self CharacterObservable,
리턴 IEnumerable

GetNumberCharactersBlockingMovement() 공개 정적인 메소드

public static GetNumberCharactersBlockingMovement ( this gm, CharacterObservable, character ) : int
gm this
character CharacterObservable,
리턴 int

InRange() 공개 정적인 메소드

public static InRange ( this gm, CharacterObservable, self, CharacterObservable, target ) : bool
gm this
self CharacterObservable,
target CharacterObservable,
리턴 bool

IsInRange() 공개 정적인 메소드

public static IsInRange ( this gm, CharacterObservable, self, CharacterObservable, target ) : bool
gm this
self CharacterObservable,
target CharacterObservable,
리턴 bool

IsTargetPositionAdjacentToSelf() 공개 정적인 메소드

public static IsTargetPositionAdjacentToSelf ( this gm, Cell, currentPos, Cell, targetCell ) : bool
gm this
currentPos Cell,
targetCell Cell,
리턴 bool

PathToTarget() 공개 정적인 메소드

public static PathToTarget ( this gm, Cell, origin, Cell, goal ) : List
gm this
origin Cell,
goal Cell,
리턴 List

PlayersInRange() 공개 정적인 메소드

public static PlayersInRange ( this gm, CharacterObservable, self ) : IEnumerable
gm this
self CharacterObservable,
리턴 IEnumerable

RemoveTileHighlights() 공개 정적인 메소드

public static RemoveTileHighlights ( this gm, int mapSize ) : void
gm this
mapSize int
리턴 void