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