private final List<Integer> integerList = new LinkedList<>();
private final List<CharSequence> charseqList =
new LinkedList<>();
+ /** for playerList and onStage. */
+ private final List<Player> playerList = new LinkedList<>();
+
/**
* コンストラクタ。
}
/**
+ * Playerリストを返す。
+ * @return Playerリスト
+ */
+ public List<Player> getPlayerList(){
+ List<Player> result =
+ Collections.unmodifiableList(this.playerList);
+ return result;
+ }
+
+ /**
* Avatar一覧を追加する。
* @param list Avatar一覧
*/
}
/**
+ * Player一覧を追加する。
+ *
+ * @param list Player一覧
+ */
+ public void addPlayerList(List<Player> list){
+ this.playerList.addAll(list);
+ return;
+ }
+
+ /**
* システムイベントを解析し、処刑されたAvatarを返す。
* G国運用中の時点で、処刑者が出るのはCOUNTINGとEXECUTIONのみ。
* @return 処刑されたAvatar。いなければnull