public BattleVariableControl battle_variable_control;//戦闘をプレイするにあたって、重要な変数の管理 /* * //保存事項------------ * public int enchant1; * public int enchant2; * * //------------ */ public BattleRun1(Summary1 s1) { set1(s1); // long time1 = m1.get_time(); battle_flow1 = new BattleFlow1(s1); battle_bg = new BattleBg(s1); battle_menu = new BattleMenu(s1); battle_member_group = new BattleMemberGroup(s1); battle_enemy_group = new BattleEnemyGroup(s1); battle_member_group_attack_run = new BattleMemberGroupAttackRun(s1); battle_enemy_group_attack_run = new BattleEnemyGroupAttackRun(s1); battle_enemy_skill_run = new BattleEnemySkillRun(s1); battle_member_group_status_control = new BattleMemberGroupStatusControl(s1); battle_enchantment = new BattleEnchantment(s1); battle_skill = new BattleSkill(s1); battle_mana = new BattleMana(s1); battle_variable_control = new BattleVariableControl(s1); battle_message_window = new BattleMessageWindow(s1); // m1.msbox((m1.get_time() - time1)); }
public void Awake() { _instance = this; int y = 13; battleStartPosList = new ArrayList () { new BattleStartPos("",new Vector3 (-270, y, y/ 10 + StaticData.objLayer)), new BattleStartPos("",new Vector3 (-90, y, y/ 10 + StaticData.objLayer)), new BattleStartPos("",new Vector3 (90, y, y/ 10 + StaticData.objLayer)), new BattleStartPos("",new Vector3 (270, y, y/ 10 + StaticData.objLayer)) }; InitBounce(); heroInBattle(); preBattleDlg.setReady(false); //, MapMgr.Instance.currentLevelIndex //preBattleDlg.labelLevel.text = "LEVEL "+MapMgr.Instance.getCurrentChapter().id; // heroMoveToBattleStartPos(); }