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