Commit 674ea1c3 authored by Constantin's avatar Constantin
Browse files

player.toString()

parent 581814ce
...@@ -27,6 +27,9 @@ class Player: ...@@ -27,6 +27,9 @@ class Player:
else: else:
self.game.removePlayer(self) self.game.removePlayer(self)
def toString(self):
return "another player"
# high(er)-level functions # high(er)-level functions
def readCmd(self, cmd): def readCmd(self, cmd):
self.send("Selber "+cmd) self.send("Selber "+cmd)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment