def __init__(self, theta=None): State.__init__(self) if theta is None: self.theta=math.pi else: self.theta=theta self.timeout=random.uniform(1.5, 3.)
def __init__(self, theta=None): State.__init__(self) if theta is None: self.theta = math.pi else: self.theta = theta self.timeout = random.uniform(1.5, 3.)
def __init__(self): State.__init__(self) self.start_pos=self.map.get_pos() self.timeout=2
def __init__(self): State.__init__(self) self.dir=random.choice([-1, 1]) self.timeout=random.uniform(0.2, 1)
def __init__(self, prev_state): State.__init__(self) self.prev_state=prev_state
def __init__(self): State.__init__(self) self.start_pos = self.map.get_pos() self.timeout = 2
def __init__(self): State.__init__(self) self.dir = random.choice([-1, 1]) self.timeout = random.uniform(0.2, 1)
def __init__(self, prev_state): State.__init__(self) self.prev_state = prev_state