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

Inheritance: CanvasObject, ICanvasSelectableObject
Afficher le fichier Open project: LongoMatch/longomatch Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
UpdateTeam ( List players, int formation, TeamType team ) : void

Method Details

Draw() public méthode

public Draw ( IDrawingToolkit tk, Area area ) : void
tk IDrawingToolkit
area LongoMatch.Core.Common.Area
Résultat void

FieldObject() public méthode

public FieldObject ( ) : System.Collections.Generic
Résultat System.Collections.Generic

GetSelection() public méthode

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

LoadTeams() public méthode

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
Résultat void

Move() public méthode

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

Update() public méthode

public Update ( ) : void
Résultat void