1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-07-01 02:01:45 +02:00
GiantsTools/Sdk/Include/AI/Public/MoveUtil.h
2021-01-23 15:40:09 -08:00

21 lines
724 B
C++

#pragma once
#include "AI/Public/Goal.h"
#include "Components/MoveEnactor.h"
#include "Components/MoveEnactor.h"
#include "AI/Public/Command.h"
#include "Components/PhysicsView.h"
namespace AI
{
class MoveUtil
{
public:
static void ClearAllGoals(MoveEnactor& moveEnactor);
static void RemoveActiveGoal(MoveEnactor& moveEnactor);
static SBYTE GetTurnForAngle(float currentFacing, float newFacing);
static bool IsActiveGoalComplete(MoveEnactor& moveEnactor);
static bool ChaseAngle(ECS::Entity* entity, MoveEnactor& moveEnactor, PhysicsView& physicsView);
static bool ChaseLocation(ECS::Entity* entity, MoveEnactor& moveEnactor, PhysicsView& physicsView);
};
}