private void saveTest() { PioneerManager.getInstance().finished(); //HealItemMasterManager.getInstance().updateProgress(); Debug.Log("heal " + HealItemMasterManager.getInstance().getHealItemFromId(0).getHeal()); }
public void reset() { tradedAttributeTable.Clear(); clearedQuest = 0; tradedValue = 0; tradedTimes = 0; totalTradedValue = 0; PioneerManager.getInstance().removeObserver(this); }
private WorldCreatFlugHelper() { PioneerManager.getInstance().setObserver(this); if (ES2.Exists("BasicData")) { ES2Reader reader = ES2Reader.Create("BasicData"); this.worldPasses = reader.ReadList <Int32>("WorldPass"); this.worldIdDefault = reader.Read <Int32>("WorldIdDefault"); } }
public EnemyObserver(int observeEnemyId) { this.OBSERVE_ENEMY_ID = observeEnemyId; PioneerManager.getInstance().setObserver(this); var keys = Enum.GetValues(typeof(AttackSkillAttribute)); foreach (var key in keys) { dammagedAttributeTimes.Add((AttackSkillAttribute)key, 0); } }
public void activateCompensation(Player player) { if (compentionType == CompentionType.FINISH) { PioneerManager.getInstance().missionClearPrint(); } else if (compentionType == CompentionType.METAL) { player.addMetal(LEVEL * 10 * EXTERMINATION_NUMBER); } else { player.addItem(getCompensationItem()); } }
public TownObserver(Town town) { this.TOWN = town; this.townId = town.getId(); foreach (IFriendly character in town.getCharacters()) { charactersTraded.Add(character, 0); } var attributes = Enum.GetValues(typeof(ItemAttribute)); foreach (ItemAttribute attribute in attributes) { tradedAttributeTable.Add(attribute, 0); } townNumber++; PioneerManager.getInstance().setObserver(this); }
public void back() { menu.setIsDisplaying(false); PioneerManager.getInstance().retire(); }
public void death() { PioneerManager.getInstance().deathPrint(); }
protected ItemObserver(int itemId) { OBSERVE_ITEM_ID = itemId; PioneerManager.getInstance().setObserver(this); }
public SkillObserver(int id) { this.OBSERVE_SKILL_ID = id; PioneerManager.getInstance().setObserver(this); }
public void reset() { world.resetWorld(); WorldCreatFlugHelper.getInstance().setWorldLoaded(false); PioneerManager.getInstance().removeObserver(this); }
public WorldObserver(World world) { this.world = world; PioneerManager.getInstance().setObserver(this); }
public void finishPlaying() { PioneerManager.getInstance().finished(); Destroy(gameObject); }