AutoReferee
2.5
|
Called when a match is ending. More...
Public Member Functions | |
AutoRefMatch | getMatch () |
Gets the match for this event. More... | |
AutoRefTeam | getWinner () |
Returns the winning team for this match. More... | |
boolean | isCancelled () |
Checks the cancelled state of the event. More... | |
void | setCancelled (boolean cancel) |
Sets the cancelled state of the event. More... | |
void | setWinner (AutoRefTeam winner) |
Sets the winning team for this match. More... | |
Called when a match is ending.
|
inherited |
Gets the match for this event.
AutoRefTeam org.mctourney.autoreferee.event.match.MatchCompleteEvent.getWinner | ( | ) |
Returns the winning team for this match.
boolean org.mctourney.autoreferee.event.match.MatchCompleteEvent.isCancelled | ( | ) |
Checks the cancelled state of the event.
void org.mctourney.autoreferee.event.match.MatchCompleteEvent.setCancelled | ( | boolean | cancel) |
Sets the cancelled state of the event.
cancel | true to cancel the event, false to uncancel the event |
void org.mctourney.autoreferee.event.match.MatchCompleteEvent.setWinner | ( | AutoRefTeam | winner) |
Sets the winning team for this match.
winner | winning team |