Exemple #1
0
        public Bird(IControls controls)
        {
            _controls = controls;

            _body = new Body()
            {
                InitialPosition = new Vector2(200.0f, 200.0f),
                InitialVelocity = new Vector2(300.0f, 0.0f)
            };
        }
Exemple #2
0
 public Viewer()
 {
     _camera = new Camera();
     _cameraBody = new Body();
     _cameraBody.ChangeVelocity(new GameTime(), new Vector2(300.0f, 0.0f));
 }