public override void Input(int input) { base.Input(input); StateHandler.AddDelay(); if (input == Globals.KEY_ACCEPT) { string temp = StateHandler.GetPC(first).Name; StateHandler.SetPC(StateHandler.GetPC(count).Name, first); StateHandler.SetPC(temp, count); parent = new SubStateOrderChangeOne((SubStateAbstract)parent.Parent); StateHandler.State = parent; } else if (input == Globals.KEY_CANCEL) StateHandler.State = parent; }
}//end EVC public override void Input(int input) { base.Input(input); StateHandler.AddDelay(); if (input == Globals.KEY_ACCEPT) { string temp = StateHandler.GetPC(first).Name; StateHandler.SetPC(StateHandler.GetPC(count).Name, first); StateHandler.SetPC(temp, count); parent = new SubStateOrderChangeOne((SubStateAbstract)parent.Parent); StateHandler.State = parent; } else if (input == Globals.KEY_CANCEL) { StateHandler.State = parent; } }//end input