Beispiel #1
0
        protected override void Initialize()
        {
            _keyboard = new KeyboardInput();
            _camera = new Camera(GraphicsDevice.Viewport)/* { Limits = new Rectangle(0, 0, 3200, 600) }*/;

            base.Initialize();
        }
Beispiel #2
0
 public Layer(Camera camera)
 {
     _camera = camera;
     Parallax = Vector2.One;
     Sprites = new List<Sprite>();
 }