def __init__(self): self.uuid = uuid.uuid4() self.universe = None self.name = "" self.core_celestial_uuids = set() self.link_uuids = set() self._reset_interval = -1 self.reset_timer = -1 self.aux = auxiliary.new_data(aux_types.AUX_TYPE_STAR_SYSTEM)
def __init__(self): self.sessions = set() self.brains = {} self.identities = {} self.entities = {} self.items = {} self.star_systems = {} self.celestials = {} self.core_star_system_uuids = set() self.aux = auxiliary.new_data(aux_types.AUX_TYPE_UNIVERSE)
def __init__(self): self.uuid = uuid.uuid4() self.universe = None self.name = "" self.star_system_uuid = None self.coordinate = (0, 0, 0) self.mass = 0 self.radius = 0 self.warp_radius = 0 self.aux = auxiliary.new_data(aux_types.AUX_TYPE_CELESTIAL)
def __init__(self, is_pilotable=False, is_warp_beacon=False): self.uuid = uuid.uuid4() self.name = "" self.universe = None self.brain_uuid = None self.celestial_uuid = None self.position = (0, 0, 0) self.vector = (1.0, 0.0, 0.0) self.speed = 0 self.is_pilotable = is_pilotable self.is_warp_beacon = is_warp_beacon self.aux = auxiliary.new_data(aux_types.AUX_TYPE_ENTITY)
def __init__(self): self.uuid = uuid.uuid4() self.name = "" self.universe = None self.aux = auxiliary.new_data(aux_types.AUX_TYPE_ITEM)