Ejemplo n.º 1
0
        public Demo()
        {
            Bnoerj.AI.Steering.Drawing.game = this;

            graphics = new GraphicsDeviceManager(this);
            content  = new ContentManager(Services);

            graphics.PreferredBackBufferWidth  = preferredWindowWidth;
            graphics.PreferredBackBufferHeight = preferredWindowHeight;

            texts = new List <TextEntry>();

            //FIXME: eijeijei.
            Annotation.drawer = new Drawing();

            boids           = new Bnoerj.AI.Steering.Boids.BoidsPlugIn();
            lowSpeedTurn    = new Bnoerj.AI.Steering.LowSpeedTurn.LowSpeedTurnPlugIn();
            pedestrian      = new Bnoerj.AI.Steering.Pedestrian.PedestrianPlugIn();
            ctf             = new Bnoerj.AI.Steering.Ctf.CtfPlugIn();
            mapDrive        = new Bnoerj.AI.Steering.MapDrive.MapDrivePlugIn();
            multiplePersuit = new Bnoerj.AI.Steering.MultiplePursuit.MpPlugIn();
            soccer          = new Bnoerj.AI.Steering.Soccer.SoccerPlugIn();
            oneTurning      = new Bnoerj.AI.Steering.OneTurning.OneTurningPlugIn();

            IsFixedTimeStep = false;
        }
Ejemplo n.º 2
0
        public Demo()
        {
            Bnoerj.AI.Steering.Drawing.game = this;

            graphics = new GraphicsDeviceManager(this);
            content = new ContentManager(Services);

            graphics.PreferredBackBufferWidth = preferredWindowWidth;
            graphics.PreferredBackBufferHeight = preferredWindowHeight;

            texts = new List<TextEntry>();

            //FIXME: eijeijei.
            Annotation.drawer = new Drawing();

            boids = new Bnoerj.AI.Steering.Boids.BoidsPlugIn();
            lowSpeedTurn = new Bnoerj.AI.Steering.LowSpeedTurn.LowSpeedTurnPlugIn();
            pedestrian = new Bnoerj.AI.Steering.Pedestrian.PedestrianPlugIn();
            ctf = new Bnoerj.AI.Steering.Ctf.CtfPlugIn();
            mapDrive = new Bnoerj.AI.Steering.MapDrive.MapDrivePlugIn();
            multiplePersuit = new Bnoerj.AI.Steering.MultiplePursuit.MpPlugIn();
            soccer = new Bnoerj.AI.Steering.Soccer.SoccerPlugIn();
            oneTurning = new Bnoerj.AI.Steering.OneTurning.OneTurningPlugIn();

            IsFixedTimeStep = false;
        }