Ejemplo n.º 1
0
    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);
            }
        }
    }
Ejemplo n.º 2
0
 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));
 }