Example #1
0
 def execute(self):
     active_camera = self.application.current_map.camera
     location = active_camera.getLocation()
     coords = location.getMapCoordinates()
     coords.x = self.position[0]
     coords.y = self.position[1]
     location.setMapCoordinates(coords)
     active_camera.setLocation(location)
     BaseAction.execute(self)
Example #2
0
 def execute(self):
     active_camera = self.application.current_map.camera
     location = active_camera.getLocation()
     coords = location.getMapCoordinates()
     coords.x = self.position[0]
     coords.y = self.position[1]
     location.setMapCoordinates(coords)
     active_camera.setLocation(location)
     BaseAction.execute(self)
Example #3
0
 def execute(self):
     self.application.set_global_lighting(self.red,
                                          self.green,
                                          self.blue)
     BaseAction.execute(self)
Example #4
0
 def execute(self):
     self.application.set_global_lighting(self.red, self.green, self.blue)
     BaseAction.execute(self)