예제 #1
0
        public IEnumerator Load(IMapGenerator map_generator)
        {
            map_generator_ = map_generator;
            map_factory_   = GetComponent <MapFactory>();

            yield return(StartCoroutine(map_generator_.Generate()));

            Reset(map_generator_.GetMap());
        }