예제 #1
0
파일: map.py 프로젝트: joaopgom/rpg-v2
 def __init__(self):
     Position.__init__(self)
     self.rect = None
     self.image = None
     self.name = None
     self.type = None
     self.has_dialog = False
예제 #2
0
파일: player.py 프로젝트: joaopgom/rpg-v2
 def __init__(self, name):
     Position.__init__(self)
     self.name = name
     load_creature(self.name)
     self.hp = CREATURES_LOADED[self.name]['hp']
     self.mp = CREATURES_LOADED[self.name]['mp']
     self.level = CREATURES_LOADED[self.name]['level']
     self.attack = CREATURES_LOADED[self.name]['attack']
     self.attack_m = CREATURES_LOADED[self.name]['attack_m']
     self._class = CREATURES_LOADED[self.name]['_class']
     self._def = CREATURES_LOADED[self.name]['_def']
     self.def_m = CREATURES_LOADED[self.name]['def_m']
     self.selfie = None
예제 #3
0
파일: board.py 프로젝트: btrent/chessmemory
 def __init__(self, view=None, position=None):
     Position.__init__(self)
     gobject.GObject.__init__(self)
     
     self.view = view    # associated BoardView
     self.game = None
     self.node = None    # the currently active game node
     
     for i in range(64):
         self.squares.append("")
     
     if position:
         self.set_position(position)
     else:
         self.setup_starting_pieces()
예제 #4
0
 def __init__(self,latitude,longitude,starting_time,ending_time,label="") :
     Position.__init__(self,latitude,longitude)
     self.starting_time=starting_time
     self.ending_time=ending_time
     self.label=label
예제 #5
0
 def __init__(self, x, y, direction):
     Position.__init__(self, x, y)
     self.direction = direction
예제 #6
0
파일: camera.py 프로젝트: joaopgom/rpg-v2
 def __init__(self):
     Position.__init__(self)
예제 #7
0
 def __init__(self, x, y, lives):
     Position.__init__(self, x, y)
     self.lives = lives
예제 #8
0
 def __init__(self,datetime,latitude,longitude) :
     self.datetime=datetime
     Position.__init__(self,latitude,longitude)
예제 #9
0
 def __init__(self):
     Position.__init__(self)
     Size.__init__(self)