C# Class FacingsExtensions, Unity-SRPG

Afficher le fichier Open project: Policenaut/Unity-SRPG

Méthodes publiques

Méthode Description
AngleOfAttack ( this attacker, Unit, defender ) : Facings,

Private Methods

Méthode Description
FromFront ( Unit, attacker, Unit, defender ) : bool
FromSide ( Unit, attacker, Unit, defender ) : bool
GetOffset ( Directions, dir ) : Point
GetSides ( Directions, dir, Directions, &s1, Directions, &s2 ) : void
WithinAngle ( Point offset, Point delta ) : bool

Method Details

AngleOfAttack() public static méthode

public static AngleOfAttack ( this attacker, Unit, defender ) : Facings,
attacker this
defender Unit,
Résultat Facings,