//Button 5 scene public Button5Scene(GraphicsDevice graphDevice, string ID) : base(graphDevice, ID) { Save = new DynamicButtonHorizontal(200, 200, 0.25, 0.75, Color.Red, graphDevice); Delete = new DynamicButtonHorizontal(400, 200, 0.25, 0.75, Color.Red, graphDevice); Save.SetText("Save Location"); Delete.SetText("Delete Location"); Save.SetDelegate(new Action(() => LocationApplication.SaveCurrentLocationToFile())); Delete.SetDelegate(new Action(() => LocationApplication.DeleteLocationFile())); }