Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 397 Bytes
"""Classes: Element."""
from src.immutable import Immutable
class Element(Immutable):
"""Represents an element of a game object."""
def __init__(self, type, position=None):
"""Construct an Element of the given ElementType located at the given Position."""
super(Element, self).__init__(attrs_dict={
'type': type,
'position': position
})
You can’t perform that action at this time.