public class GameDeathEvent extends AbstractEvent
Constructor | Description |
---|---|
GameDeathEvent(Game game,
Arena arena,
GamePlayer player) |
Creates a new GameDeathEvent.
|
Modifier and Type | Method | Description |
---|---|---|
GamePlayer |
getPlayer() |
Gets the entity who died.
|
getArena, getGame, getHandlerList, getHandlers
public GameDeathEvent(Game game, Arena arena, GamePlayer player)
game
- the game which is runningarena
- the arena the death occured inplayer
- the entity who diedpublic GamePlayer getPlayer()