3 class PrThing(wx
.Object
):
4 def __init__(self
, position
="", objectives
=[]):
6 self
.position
= position
7 self
.objectives
= objectives
10 def setPosition(self
, position
):
11 self
.position
= position
13 def getPosition(self
):
17 def addObjective(self
, objective
):
18 self
.objectives
.append(objective
)
20 def getObjectives(self
):
21 return self
.objectives