moved interface to its own class, minor interface updates

This commit is contained in:
luxick
2015-08-26 15:25:58 +02:00
parent c21413c789
commit 8eb5e7dc31
4 changed files with 80 additions and 48 deletions

View File

@@ -18,7 +18,6 @@ class Kinggotchi:
result = 'I am Kinggotchi '+str(self.name)+'.\nIn my Kingdom live '+str(self.all_tamagotchis())+' Tamagotichs.\nIn my Kingdom '+str(self.all_dead())+' Tamagotchis have died so far.\n\nThese are the '+str(len(self.myvillages))+' Villages in my Kingdom:\n'
for n in self.myvillages:
# result += '-----------------------------------------------------------------------------------------\n'
result += n.give_overview()
return result
@@ -37,6 +36,4 @@ class Kinggotchi:
result = 0
for n in self.myvillages:
result += n.graveyard
return result
return result