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
|
|
@ -25,19 +25,17 @@ namespace Server.Misc
|
|||
|
||||
public class CirclePoint
|
||||
{
|
||||
private Point2D point;
|
||||
private int angle;
|
||||
private int quadrant;
|
||||
|
||||
public Point2D Point => point;
|
||||
public int Angle => angle;
|
||||
public int Quadrant => quadrant;
|
||||
public Point2D Point { get; }
|
||||
|
||||
public int Angle { get; }
|
||||
|
||||
public int Quadrant { get; }
|
||||
|
||||
public CirclePoint( Point2D point, int angle, int quadrant )
|
||||
{
|
||||
this.point = point;
|
||||
this.angle = angle;
|
||||
this.quadrant = quadrant;
|
||||
this.Point = point;
|
||||
this.Angle = angle;
|
||||
this.Quadrant = quadrant;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue