Esempio n. 1
0
        public void Move(VehicleEntity vehicle, IVehicleCmd cmd)
        {
            if (!vehicle.hasGameObject)
            {
                return;
            }

            ShipMoveInternal.Move(vehicle, cmd);
        }
Esempio n. 2
0
 public void ApplyVehicleCmdAndState(VehicleEntity vehicle, IVehicleCmd cmd)
 {
     SetStateFromCmd(vehicle, cmd);
     ShipMoveInternal.Move(vehicle, cmd);
 }