Core/Refactor: Part 1

This commit is contained in:
hondacrx
2018-05-07 18:56:09 -04:00
parent b2c1554065
commit 216db1c23a
83 changed files with 298 additions and 296 deletions
@@ -84,7 +84,7 @@ namespace Game.Movement
return true;
}
public void _setRandomLocation(Creature creature)
void _setRandomLocation(Creature creature)
{
if (creature.IsMovementPreventedByCasting())
{
@@ -372,8 +372,6 @@ namespace Game.Movement
public class FlightPathMovementGenerator : MovementGeneratorMedium<Player>
{
public FlightPathMovementGenerator() { }
public void LoadPath(Player player, uint startNode = 0)
{
i_path.Clear();
+3 -3
View File
@@ -758,10 +758,10 @@ namespace Game.Movement
return (movement == staticIdleMovement);
}
static uint splineId = 0;
static uint splineId;
public Unit _owner { get; private set; }
protected IMovementGenerator[] _slot = new IMovementGenerator[(int)MovementSlot.Max];
Unit _owner { get; }
IMovementGenerator[] _slot = new IMovementGenerator[(int)MovementSlot.Max];
MMCleanFlag _cleanFlag;
bool[] _initialize = new bool[(int)MovementSlot.Max];
int _top;