示例#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;
	}