public void InitializePlayer(Brain brain, DevourerController devourer) { _devourer = devourer; _currentBrain = brain; _tempValues = new float[brain[0]]; Initialized = true; }
//Start Method private void Start() { cursorChangerController = this.GetComponent <CursorChangerController>(); spellEffectController = this.GetComponent <SpellEffectController>(); manaController = this.GetComponent <ManaController>(); screenShakeController = this.GetComponent <ScreenShakeController>(); devourerController = this.GetComponent <DevourerController>(); screenFlashController = this.GetComponent <ScreenFlashController>(); corruptionController = this.GetComponent <CorruptionController>(); environmentController = this.GetComponent <EnvironmentController>(); conditionController = this.GetComponent <ConditionController>(); grimmoireController = this.GetComponent <GrimmoireController>(); enemySpawner = this.GetComponent <EnemySpawner>(); soundController = this.GetComponent <SoundController>(); }