예제 #1
0
 def _getObtainVehicleProcessor(self, vehicle, data):
     return VehicleRestoreProcessor(vehicle, data.buySlot, data.buyAmmo,
                                    data.crewType)
예제 #2
0
 def getRestoreVehicleProcessor(self, crewType):
     equipmentBlock = self.viewModel.equipmentBlock
     isWithAmmo = equipmentBlock.ammo.getIsSelected()
     isWithSlot = equipmentBlock.slot.getIsSelected()
     return VehicleRestoreProcessor(self.__vehicle, isWithSlot, isWithAmmo,
                                    crewType)