public interface IGameChangeListener
ISc2Monitor.addGameChangeListener(IGameChangeListener)
,
ISc2Monitor.removeGameChangeListener(IGameChangeListener)
,
GameChangeAdapter
,
IGameChangeEvent
Modifier and Type | Method and Description |
---|---|
void |
gameChanged(IGameChangeEvent event)
This method is called when game (status) changes, no matter what the status transition is.
|
void |
gameEnded(IGameChangeEvent event)
Called when a game ends.
|
void |
gameStarted(IGameChangeEvent event)
Called when a game starts.
|
void gameChanged(IGameChangeEvent event)
event
- details of the game (status) changevoid gameStarted(IGameChangeEvent event)
This method is called only if the game status changes from IGameStatus.ENDED
to IGameStatus.STARTED
.
A gameChanged(IGameChangeEvent)
call will precede this call.
event
- event describing the game (status) changegameChanged(IGameChangeEvent)
void gameEnded(IGameChangeEvent event)
This method is called only if the game status changes from IGameStatus.STARTED
to IGameStatus.ENDED
.
A gameChanged(IGameChangeEvent)
call will precede this call.
event
- event describing the game (status) changegameChanged(IGameChangeEvent)
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.