C# Class LongoMatch.Drawing.CanvasObjects.Teams.FieldObject

Inheritance: CanvasObject, ICanvasSelectableObject
Show file Open project: LongoMatch/longomatch Class Usage Examples

Public Methods

Method Description
Draw ( IDrawingToolkit tk, Area area ) : void
FieldObject ( ) : System.Collections.Generic
GetSelection ( Point point, double precision, bool inMotion ) : Selection
LoadTeams ( Image backgroundImg, int homeF, int awayF, List homeT, List awayT, int size, int nteams ) : void
Move ( Selection s, Point p, Point start ) : void
Update ( ) : void

Private Methods

Method Description
UpdateTeam ( List players, int formation, TeamType team ) : void

Method Details

Draw() public method

public Draw ( IDrawingToolkit tk, Area area ) : void
tk IDrawingToolkit
area LongoMatch.Core.Common.Area
return void

FieldObject() public method

public FieldObject ( ) : System.Collections.Generic
return System.Collections.Generic

GetSelection() public method

public GetSelection ( Point point, double precision, bool inMotion ) : Selection
point LongoMatch.Core.Common.Point
precision double
inMotion bool
return Selection

LoadTeams() public method

public LoadTeams ( Image backgroundImg, int homeF, int awayF, List homeT, List awayT, int size, int nteams ) : void
backgroundImg LongoMatch.Core.Common.Image
homeF int
awayF int
homeT List
awayT List
size int
nteams int
return void

Move() public method

public Move ( Selection s, Point p, Point start ) : void
s Selection
p LongoMatch.Core.Common.Point
start LongoMatch.Core.Common.Point
return void

Update() public method

public Update ( ) : void
return void