Пример #1
0
    def __init__(self, game):
        core.Model.__init__(self)
        self.game = game

        self.x = conf.scene_width
        self.y = conf.scene_height * conf.arm.position_factor
        self.rotation = util.restrict_0_360(conf.arm.top_angle)

        self.stage = Arm.PREPARE
Пример #2
0
 def set_rotation(self, new_rot):
     self.rotation = util.restrict_0_360(new_rot)