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;
 }