예제 #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;
	}