1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-22 14:15:37 +01:00
GiantsTools/Sdk/Include/AI/Public/MoveUtil.h

21 lines
724 B
C
Raw Normal View History

2021-01-24 00:40:09 +01:00
#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);
};
}