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