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

Class AIThing

Unit

cAIThings

Declaration

type AIThing = class(AIBaseObject)

Description

============================================================================

Hierarchy

AIBaseObject

Methods

Overview

Public procedure Cease; virtual;
Public Constructor Create(aParent: pointer);
Public procedure Damage(aAmount: integer); virtual;
Public Destructor Destroy; override;
Public function Digest(const aAmount: integer): integer; virtual;
Public procedure Fuel; virtual;
Public procedure FullDisplay(aList: TStrings); override;
Protected function GetAge: integer;
Public function GetDNA: pointer; virtual;
Protected function GetName: string; virtual;
Public function HasDNA: boolean; virtual;
Public function IsFruit: boolean; virtual;
Public function IsPlant: boolean; virtual;
Public function IsPredator: boolean; virtual;
Public function IsPrey: boolean; virtual;
Public procedure LoadFromFile(var aFile: TextFile); override;
Public procedure Noise(aEffectIndex, aTimerDeath: integer);
Public procedure OnCollide(aCollider: AIThing); virtual;
Public function OneLineDisplay: string; override;
Public procedure Perform(aActivity: integer); virtual;
Public function Play(aPlaymate: AIThing): integer;
Public procedure Report;
Public procedure SaveToFile(var aFile: TextFile); override;
Protected procedure SetName(aName: string); virtual;
Public procedure Talk(aText: string; aRadius: single; aTimerDeath: integer);
Public function Tickle: integer; virtual;
Public procedure Vibrate(aEffectType, aEffectIndex, aTimerDeath: integer);

Description

Public procedure Cease; virtual;

queue for deletion

Public Constructor Create(aParent: pointer);

 

Public procedure Damage(aAmount: integer); virtual;

take damage

Public Destructor Destroy; override;

 

Public function Digest(const aAmount: integer): integer; virtual;

what happens when its eaten?

Public procedure Fuel; virtual;

predators that chase the prey

Public procedure FullDisplay(aList: TStrings); override;

 

Protected function GetAge: integer;

 

Public function GetDNA: pointer; virtual;

 

Protected function GetName: string; virtual;

 

Public function HasDNA: boolean; virtual;

subclass information

Public function IsFruit: boolean; virtual;

 

Public function IsPlant: boolean; virtual;

 

Public function IsPredator: boolean; virtual;

small prey

Public function IsPrey: boolean; virtual;

 

Public procedure LoadFromFile(var aFile: TextFile); override;

 

Public procedure Noise(aEffectIndex, aTimerDeath: integer);

make a noise vibe

Public procedure OnCollide(aCollider: AIThing); virtual;

add time

Public function OneLineDisplay: string; override;

 

Public procedure Perform(aActivity: integer); virtual;

perform an activity

Public function Play(aPlaymate: AIThing): integer;

play happiness value

Public procedure Report;

 

Public procedure SaveToFile(var aFile: TextFile); override;

 

Protected procedure SetName(aName: string); virtual;

 

Public procedure Talk(aText: string; aRadius: single; aTimerDeath: integer);

talk

Public function Tickle: integer; virtual;

 

Public procedure Vibrate(aEffectType, aEffectIndex, aTimerDeath: integer);

make a vibe

Properties

Overview

Public property Age: integer;
Public property Birthday: integer;
Public property Exists: boolean;
Public property Kind: integer;
Public property Name: string;
Public property Position: AIPosition;

Description

Public property Age: integer;

 

Public property Birthday: integer;

 

Public property Exists: boolean;

 

Public property Kind: integer;

 

Public property Name: string;

 

Public property Position: AIPosition;

 


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