void ExecutionCheck() { if (m != Mode.Select && Input.GetKeyDown(KeyCode.Space)) { Order O = PV.SendOrder(Curr); if (O != null) { //Order Application Simulation /*string OrderString = OrderFormatter.serialize(O); * Response R = OrderFormatter.deserialize(OrderString); */ Response R = RF.GenerateNonValidResponse(O); ExecuteOrder(R); } } }
public void AcquireOrder(Order O) { //Grab the order Send it to the Rulebook and let 'er rip! //Here is our very temporary version ApplyResponse(RF.GenerateNonValidResponse(O)); }