Esempio n. 1
0
        public Pathfinding()
        {
            graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";

            #if WINDOWS_PHONE
            // Frame rate is 30 fps by default for Windows Phone.
            TargetElapsedTime = TimeSpan.FromTicks(333333);
            graphics.IsFullScreen = true;
            #endif

            map = new Map();
            tank = new Tank();
            pathFinder = new PathFinder();
        }