Units
Class Hierarchy
Classes, Interfaces and Objects
Types
Variables
Constants
Functions and Procedures
Identifiers

Class AIThingReferenceList

Unit

cAIThingReferenceList

Declaration

type AIThingReferenceList = class(AIReferenceList)

Description

----------------------------------------------------------------------------

Hierarchy

AIReferenceList > TActiveList

Methods

Overview

Public function AmountOfKind(aKind: integer): integer;
Public procedure ApplyDamage(aOrigin: AIPosition; aDamage: integer; aRadius: single);
Public procedure ApplyOriginatingForceToAll(aOrigin: AIPosition; aStrength: single; aRadius: single);
Public function AreAllAtLocation(aLocation: pointer): boolean;
Public procedure CeaseEverythingLocation(aLocation: pointer);
Public function CommunityWithRoom(aKind: integer): pointer;
Public function DistanceToNearest(aPosition: AIPosition): single;
Public function FarthestOfKind(aPosition: AIPosition; aKind: integer): pointer;
Public function FirstOfKind(aKind: integer): pointer;
Public procedure FullDisplay(aList: TStrings); override;
Public function HasKind(aKind: integer): boolean;
Public function HasKindAtLocation(aLocation: pointer; aKind: integer): boolean;
Public function HasKindWithinDistance(aKind: integer; aPosition: AIPosition; aDistance: single): boolean;
Public function HasKindWithinXY(aKind: integer; aX: single; aY: single; aDistance: single): boolean;
Public procedure KillAllLifeAtLocation(aLocation: pointer);
Public procedure KillAllPlantsAtLocation(aLocation: pointer);
Public procedure KillEveryKind(aKind: integer);
Public procedure KillEverything;
Public function LastOfKind(aKind: integer): pointer;
Public function NearestAvailableNotUnderwaterThing(aPosition: AIPosition): pointer;
Public function NearestAvailableOfKind(aKind: integer; aPosition: AIPosition; aRange: single): pointer;
Public function NearestAvailableThing(aPosition: AIPosition): pointer;
Public function NearestAvailableUnderwaterThing(aPosition: AIPosition; aNotKind: integer): pointer;
Public procedure NearestNeighbours(aPosition: AIPosition; aRange: single; aList: AIThingReferenceList);
Public function NearestOfClass(aClass: AIBaseClass; aPosition: AIPosition; aRange: single): pointer;
Public function NearestOfKind(aKind: integer; aPosition: AIPosition): pointer; overload;
Public function NearestOfKind(aKind: integer; aPosition: AIPosition; aRange: single): pointer; overload;
Public function NearestThing(aPosition: AIPosition): pointer; overload;
Public function NearestThing(aPosition: AIPosition; aRange: single): pointer; overload;
Public function NearestThing(aGrabber: pointer; aPosition: AIPosition; aRange: single): pointer; overload;
Public procedure NotifyAllCommunitiesOfDeath(aThing: pointer);
Public function RandomOfKind(aKind: integer): pointer;
Public function RandomThing: pointer;
Public procedure ReportAll;
Public procedure ReportAllCreatures;
Public procedure ShakeLand(aStrength: single);
Public function SimpleNearestAvailableOfKind(aKind: integer; aPosition: AIPosition; aRange: single): pointer;
Public function SimpleNearestThing(aPosition: AIPosition): pointer;

Description

Public function AmountOfKind(aKind: integer): integer;

 

Public procedure ApplyDamage(aOrigin: AIPosition; aDamage: integer; aRadius: single);

 

Public procedure ApplyOriginatingForceToAll(aOrigin: AIPosition; aStrength: single; aRadius: single);

 

Public function AreAllAtLocation(aLocation: pointer): boolean;

 

Public procedure CeaseEverythingLocation(aLocation: pointer);

 

Public function CommunityWithRoom(aKind: integer): pointer;

community

Public function DistanceToNearest(aPosition: AIPosition): single;

 

Public function FarthestOfKind(aPosition: AIPosition; aKind: integer): pointer;

 

Public function FirstOfKind(aKind: integer): pointer;

 

Public procedure FullDisplay(aList: TStrings); override;

 

Public function HasKind(aKind: integer): boolean;

 

Public function HasKindAtLocation(aLocation: pointer; aKind: integer): boolean;

 

Public function HasKindWithinDistance(aKind: integer; aPosition: AIPosition; aDistance: single): boolean;

 

Public function HasKindWithinXY(aKind: integer; aX: single; aY: single; aDistance: single): boolean;

 

Public procedure KillAllLifeAtLocation(aLocation: pointer);

 

Public procedure KillAllPlantsAtLocation(aLocation: pointer);

 

Public procedure KillEveryKind(aKind: integer);

 

Public procedure KillEverything;

 

Public function LastOfKind(aKind: integer): pointer;

 

Public function NearestAvailableNotUnderwaterThing(aPosition: AIPosition): pointer;

 

Public function NearestAvailableOfKind(aKind: integer; aPosition: AIPosition; aRange: single): pointer;

 

Public function NearestAvailableThing(aPosition: AIPosition): pointer;

 

Public function NearestAvailableUnderwaterThing(aPosition: AIPosition; aNotKind: integer): pointer;

 

Public procedure NearestNeighbours(aPosition: AIPosition; aRange: single; aList: AIThingReferenceList);

 

Public function NearestOfClass(aClass: AIBaseClass; aPosition: AIPosition; aRange: single): pointer;

 

Public function NearestOfKind(aKind: integer; aPosition: AIPosition): pointer; overload;

 

Public function NearestOfKind(aKind: integer; aPosition: AIPosition; aRange: single): pointer; overload;

 

Public function NearestThing(aPosition: AIPosition): pointer; overload;

 

Public function NearestThing(aPosition: AIPosition; aRange: single): pointer; overload;

 

Public function NearestThing(aGrabber: pointer; aPosition: AIPosition; aRange: single): pointer; overload;

 

Public procedure NotifyAllCommunitiesOfDeath(aThing: pointer);

 

Public function RandomOfKind(aKind: integer): pointer;

 

Public function RandomThing: pointer;

basic operations

Public procedure ReportAll;

 

Public procedure ReportAllCreatures;

 

Public procedure ShakeLand(aStrength: single);

 

Public function SimpleNearestAvailableOfKind(aKind: integer; aPosition: AIPosition; aRange: single): pointer;

 

Public function SimpleNearestThing(aPosition: AIPosition): pointer;

 


Generated by PasDoc 0.8.7 on Wed 01/ Oct 2003 00:51:36