1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-13 22:24:17 +01:00
openrw/rwengine/include/ai/DefaultAIController.hpp
Daniel Evans 3f40ba0e18 Add AI Goal system, FollowLeader goal.
+ Add support for setting leader, e.g. Misty follows you during "Luigi's Girls".
2015-01-22 15:00:30 +00:00

22 lines
413 B
C++

#pragma once
#ifndef _DEFAULTAICONTROLLER_HPP_
#define _DEFAULTAICONTROLLER_HPP_
#include <ai/CharacterController.hpp>
#include <random>
struct AIGraphNode;
class DefaultAIController : public CharacterController
{
glm::vec3 gotoPos;
public:
DefaultAIController(CharacterObject* character)
: CharacterController(character) {}
glm::vec3 getTargetPosition();
virtual void update(float dt);
};
#endif