Oolite 1.91.0.7604-240417-a536cbe
Loading...
Searching...
No Matches
ShipEntityAI.h
Go to the documentation of this file.
1/*
2
3ShipEntityAI.h
4
5Additional methods relating to behaviour/artificial intelligence.
6
7
8Oolite
9Copyright (C) 2004-2013 Giles C Williams and contributors
10
11This program is free software; you can redistribute it and/or
12modify it under the terms of the GNU General Public License
13as published by the Free Software Foundation; either version 2
14of the License, or (at your option) any later version.
15
16This program is distributed in the hope that it will be useful,
17but WITHOUT ANY WARRANTY; without even the implied warranty of
18MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19GNU General Public License for more details.
20
21You should have received a copy of the GNU General Public License
22along with this program; if not, write to the Free Software
23Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
24MA 02110-1301, USA.
25
26*/
27
28#import "ShipEntity.h"
29
30@class AI, Universe, OOPlanetEntity;
31
32@interface ShipEntity (AI)
33
34// AI methods also used in other code.
35
36- (void) setAITo:(NSString *)aiString;
37- (void) setAIScript:(NSString *)aiString;
38- (void) switchAITo:(NSString *)aiString;
39
40- (void) scanForHostiles;
41- (BOOL) performHyperSpaceToSpecificSystem:(OOSystemID)systemID;
43
44- (void) enterTargetWormhole;
45- (void) enterPlayerWormhole;
46
47- (void) wormholeEscorts;
48- (void) wormholeEntireGroup;
49
50- (BOOL) suggestEscortTo:(ShipEntity *)mother;
51
52- (void) groupAttackTarget;
53
54- (void) performAttack;
55- (void) performCollect;
56- (void) performEscort;
58- (void) performFlee;
60- (void) performHold;
61- (void) performIdle;
62- (void) performIntercept;
63- (void) performLandOnPlanet;
64- (void) performMining;
65- (void) performScriptedAI;
67- (void) performStop;
68- (void) performTumble;
69
71- (void) broadcastDistressMessageWithDumping:(BOOL)dumpCargo;
72
75
76
77@end
int16_t OOSystemID
Definition OOTypes.h:211
void broadcastDistressMessage()
void performFlyToRangeFromDestination()
void scanForNearestIncomingMissile()
void enterPlayerWormhole()
void performFaceDestination()
void enterTargetWormhole()
void performScriptedAttackAI()
void performLandOnPlanet()
void recallDockingInstructions()
void requestDockingCoordinates()
void wormholeEntireGroup()
Definition AI.h:38