Ejemplo n.º 1
0
 //200808 初期化された時にUnitクラスを受け取る
 public void Init(Enemy enemy, BattleMapManager battleMapManager, EnemyAIManager enemyAIManager, Main_Map map, int id)
 {
     this.enemy            = enemy;
     this.battleMapManager = battleMapManager;
     this.map            = map;
     this.enemyAIManager = enemyAIManager;
     this.enemyAIPattern = enemy.enemyAIPattern;
     this.actionTurn     = enemy.actionTurn;
     this.enemyId        = id;
 }
Ejemplo n.º 2
0
 //初期化 BattleMapManagerから呼ばれて依存性注入
 public void Init(BattleMapManager battleMapManager, BattleManager battleManager, BattleTalkManager battleTalkManager, Main_Map mainMap,
                  Transform unitContainer, Transform enemyContainer,
                  BattleMapCursor battleMapCursor)
 {
     this.mainMap           = mainMap;
     this.battleMapManager  = battleMapManager;
     this.battleTalkManager = battleTalkManager;
     this.unitContainer     = unitContainer;
     this.enemyContainer    = enemyContainer;
     this.battleMapCursor   = battleMapCursor;
     this.battleManager     = battleManager;
 }
Ejemplo n.º 3
0
    public void Init(BattleMapManager battleMapManager, Main_Map mainMap, EditorModeView editorModeView,
                     GameObject editMenuWindow, GameObject selectCellTypeWindow, Text inputCellText)
    {
        this.battleMapManager     = battleMapManager;
        this.mainMap              = mainMap;
        this.editorModeView       = editorModeView;
        this.editMenuWindow       = editMenuWindow;         //エディットのモードを選ぶウィンドウ
        this.selectCellTypeWindow = selectCellTypeWindow;   //入力するセルを選ぶウィンドウ
        this.inputCellText        = inputCellText;          //現在入力しているセルの種類を表記

        //エディットモードのセルの種類リスト作成
        CreateSelectCellTypeButton();
    }
 public void Initialize(Main_Map map)
 {
     this.map = map;
 }
Ejemplo n.º 5
0
 //200808 初期化された時にUnitクラスを受け取る
 public void Init(Unit unit, BattleMapManager battleMapManager, Main_Map map)
 {
     this.unit             = unit;
     this.battleMapManager = battleMapManager;
     this.map = map;
 }
Ejemplo n.º 6
0
 public void Init(TreasureBox treasureBox, BattleMapManager battleMapManager, Main_Map map)
 {
     this.battleMapManager = battleMapManager;
     this.map         = map;
     this.treasureBox = treasureBox;
 }