public void Init() { _starsConfig = GameConfig.Get <StarsConfig>(); _universeConfig = GameConfig.Get <UniverseConfig>(); _elements = GameConfig.Get <ElementConfig>().ElementsList; GameModel.HandleGet <GalaxyModel>(OnGalaxyChange); }
public void Init() { _planetController = GameModel.Get <PlanetController>(); _elements = GameConfig.Get <ElementConfig>().ElementsDictionary; _universeConfig = GameConfig.Get <UniverseConfig>(); _debug = GameModel.Get <GameDebug>(); }
public void Init() { _starsConfig = GameConfig.Get <StarsConfig>(); _universeConfig = GameConfig.Get <UniverseConfig>(); _hexMapGenerator = new HexMapGenerator(); _planetUpdateCommand = GameModel.Get <PlanetPropsUpdateCommand>(); GameModel.HandleGet <StarModel>(OnStarChange); }
// Use this for initialization void Start() { _universeConfig = GameConfig.Get <UniverseConfig>(); GameMessage.Listen <HexClickedMessage>(OnHexChange); Altitude.SetProperty(R.Altitude.ToString()); Temperature.SetProperty(R.Temperature.ToString()); Pressure.SetProperty(R.Pressure.ToString()); Humidity.SetProperty(R.Humidity.ToString()); Radiation.SetProperty(R.Radiation.ToString()); HexScore.SetProperty(R.HexScore.ToString()); }
// Use this for initialization void Awake() { _universeConfig = GameConfig.Get <UniverseConfig>(); _resistanceConfig = GameConfig.Get <BellCurveConfig>(); }
public void Init() { _universeConfig = GameConfig.Get <UniverseConfig>(); GameModel.HandleGet <PlanetModel>(OnPlanetModel); }
public UniversManager() { universe = new UniverseConfig(); board = new Board(); fileManager = new FileManager(); }