Пример #1
0
    public void StartNewGame()
    {
        _player.New();
        _galaxy.New();
        _star.New(7);
        _planet.New(0);
        _life.New();

        GameObject go     = GameObject.Find("Map");
        HexMap     hexMap = go.GetComponent <HexMap>();

        GameModel.Get <PlanetGenerateCommand>().Execute(hexMap);

        clock.StartTimer();
    }