public class GameLeaveEvent extends AbstractEvent
Constructor | Description |
---|---|
GameLeaveEvent(Game game,
Arena arena,
GamePlayer player) |
Creates a new GameLeaveEvent.
|
Modifier and Type | Method | Description |
---|---|---|
GamePlayer |
getPlayer() |
Gets the entity who left or was removed.
|
getArena, getGame, getHandlerList, getHandlers
public GameLeaveEvent(Game game, Arena arena, GamePlayer player)
game
- the game which is runningarena
- the arena which was leftplayer
- the entity who leftpublic GamePlayer getPlayer()