C# Class LongoMatch.Core.Store.ProjectLongoMatch

Inheritance: Project
Afficher le fichier Open project: LongoMatch/longomatch Class Usage Examples

Private Properties

Свойство Type Description
ProjectDescription System

Méthodes publiques

Méthode Description
AddEvent ( EventType type, Time start, Time stop, Time eventTime, Image miniature, bool addToTimeline = true ) : TimelineEvent
AddEvent ( TimelineEvent play ) : void
ConsolidateDescription ( ) : void
CreateLineupEvent ( ) : LineupEvent
CurrentLineup ( Time currentTime, List &homeFieldPlayers, List &homeBenchPlayers, List &awayFieldPlayers, List &awayBenchPlayers ) : void
Dispose ( ) : void
EventsByTeam ( SportsTeam team ) : IEnumerable
GetScore ( SportsTeam team ) : int
Import ( ) : Project
Import ( string file ) : Project
LineupChanged ( Time start, Time stop ) : bool
ProjectLongoMatch ( ) : System
RemoveEvents ( List plays ) : void

Delete a play from the project

SubsitutePlayer ( SportsTeam team, PlayerLongoMatch playerIn, PlayerLongoMatch playerOut, SubstitutionReason reason, Time subsTime ) : SubstitutionEvent
UpdateEventTypesAndTimers ( ) : void
UpdateScore ( ) : void

Private Methods

Méthode Description
ProjectDescription ( ) : System

Method Details

AddEvent() public méthode

public AddEvent ( EventType type, Time start, Time stop, Time eventTime, Image miniature, bool addToTimeline = true ) : TimelineEvent
type EventType
start Time
stop Time
eventTime Time
miniature Image
addToTimeline bool
Résultat TimelineEvent

AddEvent() public méthode

public AddEvent ( TimelineEvent play ) : void
play TimelineEvent
Résultat void

ConsolidateDescription() public méthode

public ConsolidateDescription ( ) : void
Résultat void

CreateLineupEvent() public méthode

public CreateLineupEvent ( ) : LineupEvent
Résultat LineupEvent

CurrentLineup() public méthode

public CurrentLineup ( Time currentTime, List &homeFieldPlayers, List &homeBenchPlayers, List &awayFieldPlayers, List &awayBenchPlayers ) : void
currentTime Time
homeFieldPlayers List
homeBenchPlayers List
awayFieldPlayers List
awayBenchPlayers List
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EventsByTeam() public méthode

public EventsByTeam ( SportsTeam team ) : IEnumerable
team SportsTeam
Résultat IEnumerable

GetScore() public méthode

public GetScore ( SportsTeam team ) : int
team SportsTeam
Résultat int

Import() public static méthode

public static Import ( ) : Project
Résultat Project

Import() public static méthode

public static Import ( string file ) : Project
file string
Résultat Project

LineupChanged() public méthode

public LineupChanged ( Time start, Time stop ) : bool
start Time
stop Time
Résultat bool

ProjectLongoMatch() public méthode

public ProjectLongoMatch ( ) : System
Résultat System

RemoveEvents() public méthode

Delete a play from the project
public RemoveEvents ( List plays ) : void
plays List
Résultat void

SubsitutePlayer() public méthode

public SubsitutePlayer ( SportsTeam team, PlayerLongoMatch playerIn, PlayerLongoMatch playerOut, SubstitutionReason reason, Time subsTime ) : SubstitutionEvent
team SportsTeam
playerIn PlayerLongoMatch
playerOut PlayerLongoMatch
reason SubstitutionReason
subsTime Time
Résultat SubstitutionEvent

UpdateEventTypesAndTimers() public méthode

public UpdateEventTypesAndTimers ( ) : void
Résultat void

UpdateScore() public méthode

public UpdateScore ( ) : void
Résultat void