예제 #1
0
파일: Path.cs 프로젝트: Ellpeck/Evolvinary
        public Path(EntityPathable entity, IEnumerable <PathWaypoint> waypoints, bool doesLoop, bool continueTryingWhenFailed)
        {
            this.Entity   = entity;
            this.doesLoop = doesLoop;
            this.continueTryingWhenFailed = continueTryingWhenFailed;

            this.waypoints.AddRange(waypoints);
        }
예제 #2
0
파일: Path.cs 프로젝트: Ellpeck/Evolvinary
 public Path(EntityPathable entity, PathWaypoint goal, bool doesLoop, bool continueTryingWhenFailed) : this(entity, new[] { goal }, doesLoop, continueTryingWhenFailed)
 {
 }