def tile_maps_by_position( self) -> typing.Dict[typing.Tuple[int, int], ZoneMap]: if self._world_map_source is None: raise ComponentNotPrepared( "self._tile_maps_by_position must be prepared before usage") return self._tile_maps_by_position
def server_zone_events_manager(self) -> ZoneEventsManager: if self._server_zone_events_manager is None: raise ComponentNotPrepared( "self._server_zone_events_manager must be prepared before usage" ) return self._server_zone_events_manager
def server_db_session(self) -> Session: if self._server_db_session is None: raise ComponentNotPrepared("server_db_session is not created yet") return self._server_db_session
def world_map_source(self) -> WorldMapSource: if self._world_map_source is None: raise ComponentNotPrepared( "self._world_map_source must be prepared before usage") return self._world_map_source
def game(self) -> Game: if self._game is None: raise ComponentNotPrepared( "self._game must be prepared before usage: provide game config folder parameter" ) return self._game
def display_objects_manager(self) -> DisplayObjectManager: if self._display_objects_manager is None: raise ComponentNotPrepared( "self._display_objects_manager not prepared") return self._display_objects_manager
def spawn(self) -> WorldMapSpawn: if self._spawn is None: raise ComponentNotPrepared("World source map don't contains spawn meta data") return self._spawn