Exemple #1
0
 def __init__(self, center_x=0, center_y=0, border_type=0):
     self.sprite = BlockSprite(center_x, center_y, border_type)
Exemple #2
0
 def __init__(self, center_x=0, center_y=0, border_type=0):
   self.sprite = BlockSprite(center_x, center_y, border_type)
Exemple #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()
Exemple #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()