コード例 #1
0
 def removed_hook(self):
     GenericEntity.removed_hook(self)
コード例 #2
0
 def spawn_hook(self):
     GenericEntity.spawn_hook(self)
コード例 #3
0
 def __init__(self, texture=None, bounding_box=None, name=None):
     self.falling, self.fall_delay, self.god_mode = False, 0, False
     self.inventory = {}
     self.current_block = 0
     GenericEntity.__init__(self, player.tobytes() if not texture else texture,
                            bounding_box, name)