public PathmapPathfinderInfo(Element position, SharedPathfinderInfoValues pathfinderValues) { ActionSet = pathfinderValues.ActionSet; InitialNode = pathfinderValues.NodeFromPosition.NodeFromPosition(position); EnabledAttributes = pathfinderValues.Attributes; _onLoop = pathfinderValues.OnLoop; _onConnectLoop = pathfinderValues.OnConnectLoop; _pathmapClass = ActionSet.DeltinScript.GetComponent <PathfinderTypesComponent>().Pathmap; _nodeFromPosition = pathfinderValues.NodeFromPosition; OriginalPosition = position; PathmapObject = pathfinderValues.PathmapObject; ResolveInfo = ActionSet.DeltinScript.GetComponent <ResolveInfoComponent>(); }
public ResolvePathfind(Element position, Element destination, SharedPathfinderInfoValues pathfinderInfo) : this(position, pathfinderInfo) => _destination = destination;
public PathfindAll(Element players, Element destination, SharedPathfinderInfoValues pathfinderInfo) : base(destination, pathfinderInfo) { _players = players; _destination = destination; }
public ResolvePathfind(Element position, SharedPathfinderInfoValues pathfinderInfo) : base(position, pathfinderInfo) { var pathfinderTypes = ActionSet.DeltinScript.GetComponent <PathfinderTypesComponent>(); _pathResolveClass = pathfinderTypes.PathResolve; }
public PathfindPlayer(Element player, Element destination, SharedPathfinderInfoValues pathfinderInfo) : base(destination, pathfinderInfo) { _player = player; _destination = destination; }