nitpick previous commits - public properties not readonly fields

This commit is contained in:
adelikat 2020-03-31 09:17:53 -05:00
parent 69aa909fc5
commit 747501af52
1 changed files with 3 additions and 4 deletions

View File

@ -11,15 +11,14 @@ namespace BizHawk.Client.EmuHawk
{
public abstract class PadSchemaControl
{
public readonly Point Location;
public readonly string Name;
protected PadSchemaControl(Point location, string name)
{
Location = location;
Name = name;
}
public Point Location { get; }
public string Name { get; }
}
/// <summary>A single on/off button</summary>