public static void addSpecial( int day, EnvironmentType env, String name, Getter<SpecialFlowScheme> getter) { ArrayList<CharacterData> map = getDay(day); if (map == null) { map = new ArrayList<CharacterData>(); days.put(day, map); } CharacterData data = new CharacterData(name); data.specialGetter = getter; data.environment = env; map.add(data); }
public static void addCharacter( int day, EnvironmentType env, String name, Getter<AllStarBoss> getter) { ArrayList<CharacterData> map = getDay(day); if (map == null) { map = new ArrayList<CharacterData>(); days.put(day, map); } CharacterData data = new CharacterData(name); data.bossGetter = getter; data.environment = env; map.add(data); }