public void Update(double dt) { StateChangeCheck(); if (player.Controller.NeedJump()) { current.Jump(); } current.Update(dt); current.AddTime(dt); }