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
def set_rotation(self, new_rot): self.rotation = util.restrict_0_360(new_rot)