public ActionMoveNode( Game1 game, GameObject parent, AStarPathfindingSystem pathfinding) : base(game, parent, BehaviourNodeType.Action) { this._pathfinding = pathfinding; }
public ActionMoveToPlayerNode( Game1 game, GameObject parent, GameObject player, AStarPathfindingSystem pathfinding, bool allowAir) : base(game, parent, pathfinding) { this._pathfinding = pathfinding; this._player = player; }
public override void Initialize() { this._pathfinding = (AStarPathfindingSystem)this._game.GetService("Pathfinding"); base.Initialize(); }