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

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

Private Properties

Property 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

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method 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 method

public ClickPressed ( Point point, ButtonModifier modif ) : void
point Point
modif ButtonModifier
return void

ClickReleased() public method

public ClickReleased ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Draw() public method

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

GetSelection() public method

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

LoadTeams() public method

public LoadTeams ( SportsTeam homeTeam, SportsTeam awayTeam, Image background ) : void
homeTeam SportsTeam
awayTeam SportsTeam
background Image
return void

Move() public method

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

PlayersTaggerObject() public method

public PlayersTaggerObject ( ) : System
return System

Reload() public method

public Reload ( ) : void
return void

ResetDrawArea() public method

public ResetDrawArea ( ) : void
return void

ResetSelection() public method

public ResetSelection ( ) : void
return void

Select() public method

public Select ( IList players, IList teams ) : void
players IList
teams IList
return void

Select() public method

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

Select() public method

public Select ( TeamType team ) : void
team TeamType
return void

Substitute() public method

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

Update() public method

public Update ( ) : void
return void