private int height = 0; // CSVの行数 public EnemyGenerator(GameController gameController) { this.gameController = gameController; itemGenerator = gameController.ItemGenerator; skillGenerator2 = gameController.SkillGenerator; //Init(); }
public void Init(GameController gameController) { this.gameController = gameController; this.messageManager = gameController.MessageManager; this.commandManager = gameController.CommandManager; this.allyManager = gameController.AllyManager; this.skillGenerator = gameController.SkillGenerator; this.enemyManager = gameController.EnemyManager; this.inoperablePanel = gameController.InoperablePanel.gameObject; this.commandParentPanel = gameController.CommandParentPanel; InitComponets(); }
public Venturer(GameController gameController, ItemGenerator itemGenerator, SkillGenerator2 skillGenerator) : base(gameController) { this.itemGenerator = itemGenerator; this.skillGenerator = skillGenerator; }