C# Class SleepHunter.Models.SpellTarget

Inheritance: ObservableObject
Show file Open project: ewrogers/SleepHunter4 Class Usage Examples

Public Methods

Method Description
GetNextRadiusPoint ( ) : Point
RecalculatePoints ( ) : void
SpellTarget ( ) : System
SpellTarget ( TargetCoordinateUnits units, Point location ) : System
SpellTarget ( TargetCoordinateUnits units, Point location, Point offset ) : System
ToString ( ) : string

Private Methods

Method Description
ComparePolar ( Point a, Point b, bool isDescending = false ) : int
ComparePolarAscending ( Point a, Point b ) : int
ComparePolarDescending ( Point a, Point b ) : int
Determinant ( Point a, Point b ) : double
GetRadiusPoints ( Point center, int innerRadius, int outerRadius ) : IEnumerable
PolarToRect ( Point pt ) : Point
RectToPolar ( Point pt ) : Point
ToRelativeString ( Point pt ) : string

Method Details

GetNextRadiusPoint() public method

public GetNextRadiusPoint ( ) : Point
return Point

RecalculatePoints() public method

public RecalculatePoints ( ) : void
return void

SpellTarget() public method

public SpellTarget ( ) : System
return System

SpellTarget() public method

public SpellTarget ( TargetCoordinateUnits units, Point location ) : System
units TargetCoordinateUnits
location Point
return System

SpellTarget() public method

public SpellTarget ( TargetCoordinateUnits units, Point location, Point offset ) : System
units TargetCoordinateUnits
location Point
offset Point
return System

ToString() public method

public ToString ( ) : string
return string