Exemplo n.º 1
0
        public Game()
        {
            Graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
            ObjectManager = new Pacemaker.ObjectManager(this);

            PlayerOne = new Player(this);
        }
Exemplo n.º 2
0
        public Game()
        {
            Rectangle playerrec = new Rectangle(-300, -100,64,128);
            Graphics = new GraphicsDeviceManager(this);
            Graphics.PreferredBackBufferHeight  = 720;
            Graphics.PreferredBackBufferWidth   = 1280;

            Content.RootDirectory = "Content";
            ObjectManager = new Pacemaker.ObjectManager(this);

            PlayerOne = new Player(this, playerrec);
            Camera = new Point(1280 / 2, 720 / 2);
            Heart = new Heart(this);
            GameInput = new Input(this);
        }