Schnittstelle ICountdown
public interface ICountdown
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the count type of the countdown.void
Set the count type of the countdown.key()
Get the key of the countdown.void
start()
Start the countdown.void
stop()
Stop the countdown.int
time()
Get the time of the countdown.void
time
(int time) Set the time of the countdown.
-
Methodendetails
-
start
void start()Start the countdown. -
stop
void stop()Stop the countdown. -
key
Object key()Get the key of the countdown.- Gibt zurück:
- the key of the countdown
-
countType
CountType countType()Get the count type of the countdown.- Gibt zurück:
- the count type of the countdown
-
countType
Set the count type of the countdown.- Parameter:
countType
- the count type
-
time
int time()Get the time of the countdown.- Gibt zurück:
- the time of the countdown in seconds
-
time
void time(int time) Set the time of the countdown.- Parameter:
time
- the time of the countdown in seconds
-