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

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

Private Properties

Свойство Type Description
BenchWidth void
ButtonClickPressed bool
ClearPlayers void
EmitSubsitutionEvent void
GetPlayers List
HandlePlayerClickedEvent void
HandleSubsClicked void
HandleTeamClickedEvent void
LoadSubsButtons void
LoadTeamsButtons void
Substitute void
UpdateLineup void

Méthodes publiques

Méthode Description
ClickPressed ( Point point, ButtonModifier modif ) : void
ClickReleased ( ) : void
Draw ( IDrawingToolkit tk, Area area ) : void
GetSelection ( Point point, double precision, bool inMotion = false ) : System.Collections.ObjectModel.Selection
LoadTeams ( SportsTeam homeTeam, SportsTeam awayTeam, Image background ) : void
Move ( System.Collections.ObjectModel.Selection s, Point p, Point start ) : void
PlayersTaggerObject ( ) : System
Reload ( ) : void
ResetDrawArea ( ) : void
ResetSelection ( ) : void
Select ( IList players, IList teams ) : void
Select ( PlayerLongoMatch player, bool silent = false, bool reset = false ) : void
Select ( TeamType team ) : void
Substitute ( PlayerLongoMatch p1, PlayerLongoMatch p2, SportsTeam team ) : void
Update ( ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
BenchWidth ( int colSize, int height, int playerSize ) : void
ButtonClickPressed ( Point point, ButtonModifier modif ) : bool
ClearPlayers ( ) : void
EmitSubsitutionEvent ( SportsPlayerObject player1, SportsPlayerObject player2 ) : void
GetPlayers ( List players, TeamType team ) : List
HandlePlayerClickedEvent ( ICanvasObject co ) : void
HandleSubsClicked ( ICanvasObject co ) : void
HandleTeamClickedEvent ( ICanvasObject co ) : void
LoadSubsButtons ( ) : void
LoadTeamsButtons ( ) : void
Substitute ( SportsPlayerObject p1, SportsPlayerObject p2, List playingPlayers, List benchPlayers ) : void
UpdateLineup ( ) : void

Method Details

ClickPressed() public méthode

public ClickPressed ( Point point, ButtonModifier modif ) : void
point Point
modif ButtonModifier
Résultat void

ClickReleased() public méthode

public ClickReleased ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Draw() public méthode

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

GetSelection() public méthode

public GetSelection ( Point point, double precision, bool inMotion = false ) : System.Collections.ObjectModel.Selection
point Point
precision double
inMotion bool
Résultat System.Collections.ObjectModel.Selection

LoadTeams() public méthode

public LoadTeams ( SportsTeam homeTeam, SportsTeam awayTeam, Image background ) : void
homeTeam SportsTeam
awayTeam SportsTeam
background Image
Résultat void

Move() public méthode

public Move ( System.Collections.ObjectModel.Selection s, Point p, Point start ) : void
s System.Collections.ObjectModel.Selection
p Point
start Point
Résultat void

PlayersTaggerObject() public méthode

public PlayersTaggerObject ( ) : System
Résultat System

Reload() public méthode

public Reload ( ) : void
Résultat void

ResetDrawArea() public méthode

public ResetDrawArea ( ) : void
Résultat void

ResetSelection() public méthode

public ResetSelection ( ) : void
Résultat void

Select() public méthode

public Select ( IList players, IList teams ) : void
players IList
teams IList
Résultat void

Select() public méthode

public Select ( PlayerLongoMatch player, bool silent = false, bool reset = false ) : void
player LongoMatch.Core.Store.PlayerLongoMatch
silent bool
reset bool
Résultat void

Select() public méthode

public Select ( TeamType team ) : void
team TeamType
Résultat void

Substitute() public méthode

public Substitute ( PlayerLongoMatch p1, PlayerLongoMatch p2, SportsTeam team ) : void
p1 LongoMatch.Core.Store.PlayerLongoMatch
p2 LongoMatch.Core.Store.PlayerLongoMatch
team SportsTeam
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void