public static void InstanceInit(World world)
 {
     if (null == instance)
     {
         instance = new GlobalMap(world);
     }
 }
Beispiel #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();
            }
        }
Beispiel #3
0
 public void SetupEnvironment(Car car, GlobalMap gmap)
 {
     this.car   = car;
     this.gmap  = gmap;
     hasUnknown = false;
 }