Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
GameObjectAI.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#include "
GameObjectAI.h
"
7
8
//GameObjectAI::GameObjectAI(GameObject* g) : go(g) { }
9
int
GameObjectAI::Permissible
(
const
GameObject
*
go
)
10
{
11
if
(
go
->GetAIName() ==
"GameObjectAI"
)
12
return
PERMIT_BASE_SPECIAL
;
13
return
PERMIT_BASE_NO
;
14
}
15
16
NullGameObjectAI::NullGameObjectAI
(
GameObject
* g) :
GameObjectAI
(g) { }
PERMIT_BASE_SPECIAL
@ PERMIT_BASE_SPECIAL
Definition
CreatureAI.h:185
PERMIT_BASE_NO
@ PERMIT_BASE_NO
Definition
CreatureAI.h:180
GameObjectAI.h
GameObjectAI::go
GameObject *const go
Definition
GameObjectAI.h:18
GameObjectAI::GameObjectAI
GameObjectAI(GameObject *g)
Definition
GameObjectAI.h:20
GameObjectAI::Permissible
static int Permissible(GameObject const *go)
Definition
GameObjectAI.cpp:9
GameObject
Definition
GameObject.h:629
NullGameObjectAI::NullGameObjectAI
NullGameObjectAI(GameObject *g)
Definition
GameObjectAI.cpp:16
src
server
game
AI
CoreAI
GameObjectAI.cpp
Generated on
for Project SkyFire Core by
1.17.0