public override Screen LoadContent() { AABB aabb = new AABB(50, 50, 451, 75); Rectangle rectangle = new Rectangle(50, 50, 451, 75); _buttons.Add(new Button(new Vector2(_viewport.Width / 2, _viewport.Height / 2 - 100), new DrawComponent(Assets.GetTexture("vsync"), aabb), rectangle, "sync_button")); _buttons.Add(new Button(new Vector2(_viewport.Width / 2, _viewport.Height / 2), new DrawComponent(Assets.GetTexture("sound"), aabb), rectangle, "audio_button")); _buttons.Add(new Button(new Vector2(_viewport.Width / 2, _viewport.Height / 2 + 100), new DrawComponent(Assets.GetTexture("return"), aabb), rectangle, "return_button")); _objects.AddRange(_buttons); AlignObjects(); return(this); }