----------------------
structure generator

def StructureGenerator
  def __init__(self):
    self.generated = []
  def update(self, time):
    self.generated.append(self.new_structure())
    for structure in self.generated:
      structure.update(time)
  def new_structure(self): # override
    return self.Structure()

Reply via email to