YourCityInvadedByAliens
Documentation for code of the game
src
ai
ai_object.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <mutex>
5
#include <deque>
6
#include <thread>
7
#include <vector>
8
9
class
AiObject
{
10
public
:
11
AiObject
();
12
13
virtual
void
makeStep
() = 0;
14
15
void
setDestroyed
(
bool
bDestroyed);
16
bool
isDestroyed
();
17
18
protected
:
19
std::string
TAG
;
20
21
private
:
22
bool
m_bDestroyed
;
23
};
AiObject::makeStep
virtual void makeStep()=0
AiObject::TAG
std::string TAG
Definition:
ai_object.h:19
AiObject::isDestroyed
bool isDestroyed()
Definition:
ai_object.cpp:14
AiObject::setDestroyed
void setDestroyed(bool bDestroyed)
Definition:
ai_object.cpp:10
AiObject::AiObject
AiObject()
Definition:
ai_object.cpp:6
AiObject
Definition:
ai_object.h:9
AiObject::m_bDestroyed
bool m_bDestroyed
Definition:
ai_object.h:22
Generated by
1.8.17