thing.py 217 Bytes
Newer Older
1 2 3 4 5
class Thing():
	def __init__(self):
		self.field = None

	def onMove(self, newField):
Constantin's avatar
Constantin committed
6 7 8
		return True
	
	def afterMove(self, oldField):
Ralf's avatar
Ralf committed
9 10
		pass
	
Ralf's avatar
Ralf committed
11 12 13 14
	def blocksMove(self):
		return False
	
	def __repr__(self):
Ralf's avatar
Ralf committed
15
		return "?"