Voxellancer
0.3
A game about voxels in space
Main Page
Related Pages
Classes
Files
File List
All
Classes
Functions
Pages
flytotask.h
1
#pragma once
2
#include <set>
3
4
#include "glm/glm.hpp"
5
6
#include "ai/aitask.h"
7
8
9
class
BoardComputer
;
10
class
WorldObject
;
11
12
class
FlyToTask
:
public
AiTask
{
13
public
:
14
FlyToTask
(
BoardComputer
* boardComputer);
15
16
void
setTargetPoint(
const
glm::vec3& point,
const
glm::vec3& up = glm::vec3(0,0,0));
17
18
virtual
void
update(
float
deltaSec)
override
;
19
20
virtual
bool
isFinished();
21
22
23
protected
:
24
glm::vec3 m_targetPoint;
25
glm::vec3 m_targetUp;
26
float
m_minDistance;
27
};
28
AiTask
Definition:
aitask.h:15
WorldObject
Definition:
worldobject.h:43
FlyToTask
Definition:
flytotask.h:12
BoardComputer
Definition:
boardcomputer.h:19
src
ai
basictasks
flytotask.h
Generated on Sun Mar 30 2014 13:32:30 for Voxellancer by
1.8.6