Пример #1
0
	public boolean isActive() {
		return game != null && game.hasPlayer(this);
	}
Пример #2
0
	public boolean isIngame() {
		return game != null && game.hasPlayer(this) && game.getGameState() == GameState.INGAME;
	}