Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -17,10 +17,18 @@ namespace Server.Movement
private static bool m_IgnoreSpellFields;
private static Point3D m_Goal;
public static bool AlwaysIgnoreDoors{ get{ return m_AlwaysIgnoreDoors; } set{ m_AlwaysIgnoreDoors = value; } }
public static bool IgnoreMovableImpassables{ get{ return m_IgnoreMovableImpassables; } set{ m_IgnoreMovableImpassables = value; } }
public static bool IgnoreSpellFields{ get{ return m_IgnoreSpellFields; } set{ m_IgnoreSpellFields = value; } }
public static Point3D Goal{ get{ return m_Goal; } set{ m_Goal = value; } }
public static bool AlwaysIgnoreDoors{ get => m_AlwaysIgnoreDoors;
set => m_AlwaysIgnoreDoors = value;
}
public static bool IgnoreMovableImpassables{ get => m_IgnoreMovableImpassables;
set => m_IgnoreMovableImpassables = value;
}
public static bool IgnoreSpellFields{ get => m_IgnoreSpellFields;
set => m_IgnoreSpellFields = value;
}
public static Point3D Goal{ get => m_Goal;
set => m_Goal = value;
}
public static void Configure()
{

View file

@ -14,11 +14,11 @@ namespace Server
private Point3D m_Goal;
private Direction[] m_Directions;
public Map Map{ get{ return m_Map; } }
public Point3D Start{ get{ return m_Start; } }
public Point3D Goal{ get{ return m_Goal; } }
public Direction[] Directions{ get{ return m_Directions; } }
public bool Success{ get{ return ( m_Directions != null && m_Directions.Length > 0 ); } }
public Map Map => m_Map;
public Point3D Start => m_Start;
public Point3D Goal => m_Goal;
public Direction[] Directions => m_Directions;
public bool Success => ( m_Directions != null && m_Directions.Length > 0 );
public static void Initialize()
{
@ -118,8 +118,8 @@ namespace Server
public static PathAlgorithm OverrideAlgorithm
{
get{ return m_OverrideAlgorithm; }
set{ m_OverrideAlgorithm = value; }
get => m_OverrideAlgorithm;
set => m_OverrideAlgorithm = value;
}
public MovementPath( Mobile m, Point3D goal )

View file

@ -18,14 +18,11 @@ namespace Server
public MoveMethod Mover
{
get{ return m_Mover; }
set{ m_Mover = value; }
get => m_Mover;
set => m_Mover = value;
}
public IPoint3D Goal
{
get{ return m_Goal; }
}
public IPoint3D Goal => m_Goal;
public PathFollower( Mobile from, IPoint3D goal )
{