Пример #1
0
 public static void InstanceInit(World world)
 {
     if (null == instance)
     {
         instance = new GlobalMap(world);
     }
 }
Пример #2
0
        public void SetupEnvironment(Car car, GlobalMap gmap, World world, Game game)
        {
            this.car   = car;
            this.gmap  = gmap;
            this.world = world;
            this.game  = game;

            if (null == pathLastCell)
            {
                pathLastCell = startLastCell();
            }
        }
Пример #3
0
 public void SetupEnvironment(Car car, GlobalMap gmap)
 {
     this.car   = car;
     this.gmap  = gmap;
     hasUnknown = false;
 }