Esempio n. 1
0
	public boolean isActive() {
		return game != null && game.hasPlayer(this);
	}
Esempio n. 2
0
	public boolean isIngame() {
		return game != null && game.hasPlayer(this) && game.getGameState() == GameState.INGAME;
	}