Add reworked Worker Enemy AI #3
|
@ -24,8 +24,11 @@ void APatrolRoute::IncrementPatrolRoute()
|
||||||
}
|
}
|
||||||
|
|
||||||
PatrolIndex += Direction;
|
PatrolIndex += Direction;
|
||||||
|
}
|
||||||
|
|
||||||
|
FVector APatrolRoute::GetSplinePointAtWorld()
|
||||||
|
{
|
||||||
|
return GetSplinePointAtWorld(PatrolIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
FVector APatrolRoute::GetSplinePointAtWorld(int pointIndex)
|
FVector APatrolRoute::GetSplinePointAtWorld(int pointIndex)
|
||||||
|
|
|
@ -28,5 +28,7 @@ public:
|
||||||
|
|
||||||
void IncrementPatrolRoute();
|
void IncrementPatrolRoute();
|
||||||
|
|
||||||
|
FVector GetSplinePointAtWorld();
|
||||||
|
|
||||||
FVector GetSplinePointAtWorld(int pointIndex);
|
FVector GetSplinePointAtWorld(int pointIndex);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue