Commit 8b7f9360 authored by Theo Steininger's avatar Theo Steininger
Browse files

Energy.position is now a property.

parent a46164c0
Pipeline #9992 failed with stages
in 33 minutes and 54 seconds
......@@ -13,6 +13,14 @@ class Energy(object):
def at(self, position):
return self.__class__(position)
def position(self):
return self._position
def position(self, position):
self._position = position
def value(self):
raise NotImplementedError
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