Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -2,24 +2,20 @@ namespace Server.Factions
|
|||
{
|
||||
public class StrongholdDefinition
|
||||
{
|
||||
private Rectangle2D[] m_Area;
|
||||
private Point3D m_JoinStone;
|
||||
private Point3D m_FactionStone;
|
||||
private Point3D[] m_Monoliths;
|
||||
public Rectangle2D[] Area { get; }
|
||||
|
||||
public Rectangle2D[] Area => m_Area;
|
||||
public Point3D JoinStone { get; }
|
||||
|
||||
public Point3D JoinStone => m_JoinStone;
|
||||
public Point3D FactionStone => m_FactionStone;
|
||||
public Point3D FactionStone { get; }
|
||||
|
||||
public Point3D[] Monoliths => m_Monoliths;
|
||||
public Point3D[] Monoliths { get; }
|
||||
|
||||
public StrongholdDefinition( Rectangle2D[] area, Point3D joinStone, Point3D factionStone, Point3D[] monoliths )
|
||||
{
|
||||
m_Area = area;
|
||||
m_JoinStone = joinStone;
|
||||
m_FactionStone = factionStone;
|
||||
m_Monoliths = monoliths;
|
||||
Area = area;
|
||||
JoinStone = joinStone;
|
||||
FactionStone = factionStone;
|
||||
Monoliths = monoliths;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue