Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -24,10 +24,10 @@ namespace Server
{
public interface IEntity : IPoint3D, IComparable<IEntity>
{
Serial Serial{ get; }
Point3D Location{ get; }
Map Map{ get; }
bool Deleted{ get; }
Serial Serial { get; }
Point3D Location { get; }
Map Map { get; }
bool Deleted { get; }
void MoveToWorld(Point3D location, Map map);
void Delete();
@ -54,9 +54,9 @@ namespace Server
public int CompareTo(IEntity other) => other == null ? -1 : Serial.CompareTo(other.Serial);
public Serial Serial{ get; }
public Serial Serial { get; }
public Point3D Location{ get; private set; }
public Point3D Location { get; private set; }
public int X => Location.X;
@ -64,7 +64,7 @@ namespace Server
public int Z => Location.Z;
public Map Map{ get; private set; }
public Map Map { get; private set; }
public virtual void MoveToWorld(Point3D newLocation, Map map)
{
@ -72,7 +72,7 @@ namespace Server
Map = map;
}
public bool Deleted{ get; }
public bool Deleted { get; }
public void Delete()
{