home · contact · privacy
Use smarter YX class for y,x coordinates/sizes.
[plomrogue2-experiments] / new / plomrogue / misc.py
index 40bd75dd11cdbe77fb09d07c7a65eddfc8c51fa9..a3f7298348cb1cfc29219f1f54c2c6cdf3980b70 100644 (file)
@@ -8,8 +8,3 @@ def quote(string):
         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])