public OverheadChaseState(int speed, float maximumDistance, OverheadController2D controller, CharacterManager cm) { rnd = new System.Random(); //speed does nothing this.speed = speed; this.maximumDistance = maximumDistance; this.charController = controller; this.charManager = cm; }