예제 #1
0
 def new_profile(self):
     profile = Profile()
     profile.tower_path = UI.choose('tower', self.towers()).path
     profile.warrior_name = UI.request('Enter a name for your warrior: ')
     return profile
예제 #2
0
 def new_profile(self):
     profile = Profile()
     profile.tower_path = UI.choose('tower', self.towers()).path
     profile.warrior_name = UI.request('Enter a name for your warrior: ')
     return profile