public FleeState(StatePatternEnemy statePatternEnemy) { manager = statePatternEnemy; manager.ModelSwap(manager.FleeModel); //Sets the powerup timer manager.powerUpTimer = 20f; Debug.Log("Flee"); }
public DeadState(StatePatternEnemy statePatternEnemy) { manager = statePatternEnemy; manager.ModelSwap(manager.DeadModel); }
public FollowState(StatePatternEnemy statePatternEnemy) { manager = statePatternEnemy; manager.ModelSwap(manager.WanderModel); }