예제 #1
0
파일: Game.py 프로젝트: Xovan/My--RPG
 def initPlayer(self):
     PlayerData.loadPlayerGraphics("rena", "nightgown")
     self.player.currentSkin = "rena_nightgown"
     self.team.add(CharacterData.CharacterData("Rena"))
     self.team.roster[0].currentSkin = "rena_nightgown"
     self.player.setPosition(288, 192)
     self.player.display()
예제 #2
0
파일: Game.py 프로젝트: Morfyo/PYTHON
 def initPlayer(self):
     PlayerData.loadPlayerGraphics("rena", "nightgown")
     PlayerData.loadPlayerGraphics("miles", "coat")
     self.team.add(PlayerData.PlayerData("Rena"))
     self.team.team[0].currentSkin = "rena_nightgown"
     self.team.add(PlayerData.PlayerData("Miles"))
     self.team.team[1].currentSkin = "miles_coat"
     self.player = self.team.team[0]
     self.player.setPosition(288, 192)
     self.player.displayOnMap()