コード例 #1
0
 public ActionMoveNode(
     Game1 game,
     GameObject parent,
     AStarPathfindingSystem pathfinding)
     : base(game, parent, BehaviourNodeType.Action)
 {
     this._pathfinding = pathfinding;
 }
コード例 #2
0
 public ActionMoveToPlayerNode(
     Game1 game,
     GameObject parent,
     GameObject player, 
     AStarPathfindingSystem pathfinding,
     bool allowAir)
     : base(game, parent, pathfinding)
 {
     this._pathfinding = pathfinding;
     this._player = player;
 }
コード例 #3
0
ファイル: AISystem.cs プロジェクト: patpaquette/SSB-clone
 public override void Initialize()
 {
     this._pathfinding = (AStarPathfindingSystem)this._game.GetService("Pathfinding");
     base.Initialize();
 }