예제 #1
0
 public clsRoute(clsWorld world, List <Vector2> waypoints)
 {
     this.world = world;
     _waypoints = waypoints;
 }
예제 #2
0
 public clsRoute(clsWorld world, Vector2 start, Vector2 destination)
 {
     this.world = world;
     _waypoints = this.findShortestPath(start, destination);
 }
예제 #3
0
 public clsActor(clsWorld world, clsObject worldObject)
 {
     this.world       = world;
     this.worldObject = worldObject;
     this.yielding    = false;
 }