Пример #1
0
 def __init__(self, center_x=0, center_y=0, border_type=0):
     self.sprite = BlockSprite(center_x, center_y, border_type)
Пример #2
0
 def __init__(self, center_x=0, center_y=0, border_type=0):
   self.sprite = BlockSprite(center_x, center_y, border_type)
Пример #3
0
class Block():
    def __init__(self, center_x=0, center_y=0, border_type=0):
        self.sprite = BlockSprite(center_x, center_y, border_type)

    def move_up(self):
        self.sprite.move_up()
Пример #4
0
class Block():
  def __init__(self, center_x=0, center_y=0, border_type=0):
    self.sprite = BlockSprite(center_x, center_y, border_type)

  def move_up(self):
    self.sprite.move_up()