Component CreateMessage(int gameResult) { _messages = new VBox { ItemSpacing = (int)(56 * _gui.Scale.Y), Position = new Point(Game.GraphicsDevice.Viewport.Width / 2, Game.GraphicsDevice.Viewport.Height / 3), VerticalOrigin = VerticalAlign.Top, HorizontalOrigin = HorizontalAlign.Center }; _messages.AddChildren(new Label("You zombified " + gameResult + " people.", "Fonts/DefaultFont") { Color = Color.White, HorizontalOrigin = HorizontalAlign.Center, }); return _messages; }