Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hacksaar
Haxotel
Commits
674ea1c3
Commit
674ea1c3
authored
Jul 31, 2014
by
Constantin
Browse files
player.toString()
parent
581814ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
player.py
View file @
674ea1c3
...
...
@@ -27,6 +27,9 @@ class Player:
else
:
self
.
game
.
removePlayer
(
self
)
def
toString
(
self
):
return
"another player"
# high(er)-level functions
def
readCmd
(
self
,
cmd
):
self
.
send
(
"Selber "
+
cmd
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment