Package de.meckminecraft.pferderennen
Class Referee
java.lang.Object
de.meckminecraft.pferderennen.Referee
public class Referee
extends java.lang.Object
- Version:
- 1.0
- Author:
- Sabine Schreiber-Ehle
-
Field Summary
Fields Modifier and Type Field Description private PlayerList
thePlayers
-
Constructor Summary
Constructors Constructor Description Referee(PlayerList thePlayers)
Costructor for the referee to do his work he needs the playerslist -
Method Summary
Modifier and Type Method Description void
CalcStats()
void
EndReached(java.lang.String Player)
void
finalize()
void
StarEndCountdown()
void
StartCompetition()
void
StartStopWatch()
void
UpdateScoreboard()
-
Field Details
-
Constructor Details
-
Referee
Costructor for the referee to do his work he needs the playerslist- Parameters:
thePlayers
- - all the Playerdata
-
-
Method Details
-
finalize
public void finalize() throws java.lang.Throwable- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
CalcStats
public void CalcStats() -
EndReached
public void EndReached(java.lang.String Player)- Parameters:
Player
- - Name of the player
-
StarEndCountdown
public void StarEndCountdown() -
StartCompetition
public void StartCompetition() -
StartStopWatch
public void StartStopWatch() -
UpdateScoreboard
public void UpdateScoreboard()
-