home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Flatten game->world hierarchy.
[plomrogue2-experiments]
/
new
/
plomrogue
/
misc.py
diff --git
a/new/plomrogue/misc.py
b/new/plomrogue/misc.py
index 40bd75dd11cdbe77fb09d07c7a65eddfc8c51fa9..a3f7298348cb1cfc29219f1f54c2c6cdf3980b70 100644
(file)
--- a/
new/plomrogue/misc.py
+++ b/
new/plomrogue/misc.py
@@
-8,8
+8,3
@@
def quote(string):
quoted += [c]
quoted += ['"']
return ''.join(quoted)
quoted += [c]
quoted += ['"']
return ''.join(quoted)
-
-
-def stringify_yx(tuple_):
- """Transform tuple (y,x) into string 'Y:'+str(y)+',X:'+str(x)."""
- return 'Y:' + str(tuple_[0]) + ',X:' + str(tuple_[1])