public static void CopyMobLocationDetailsTo(this IMobLocation source, IMobLocation dest) { dest.X = source.X; dest.Y = source.Y; dest.MovementSpeed = source.MovementSpeed; dest.MovementDirection = source.MovementDirection; dest.Waypoints = source.Waypoints; // TODO: do we need to do a literaly copy here? dest.MovementType = source.MovementType; }
public MobMovementService(IMobLocation mobLocation) { this.mobLocation = mobLocation; }