using System;
using Microsoft.Xna.Framework;
namespace StardewModdingAPI.Events
{
/// Event arguments for an event.
public class WindowResizedEventArgs : EventArgs
{
/*********
** Accessors
*********/
/// The previous window size.
public Point OldSize { get; }
/// The current window size.
public Point NewSize { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The previous window size.
/// The current window size.
public WindowResizedEventArgs(Point oldSize, Point newSize)
{
this.OldSize = oldSize;
this.NewSize = newSize;
}
}
}