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

Class AILearningCreature

Unit

cAILearningCreature

Declaration

type AILearningCreature = class(AICreature)

Description

an individual LearningCreature

Hierarchy

AICreature > AILivingThing > AIThing > AIBaseObject

Methods

Overview

Public Constructor Create(aParent: pointer);
Public Destructor Destroy; override;
Public function Eat(const JawSize: integer): boolean; override;
Public function FavoriteFood: integer;
Public procedure FullDisplay(aList: TStrings); override;
Protected procedure GiveUp;
Public procedure LoadFromFile(var aFile: TextFile); override;
Protected procedure LookForSomethingToEat; overload;
Protected procedure LookForSomethingToEat(aBinding: integer); overload;
Public procedure SaveToFile(var aFile: TextFile); override;
Public function YuckiestFood: integer;

Description

Public Constructor Create(aParent: pointer);

 

Public Destructor Destroy; override;

 

Public function Eat(const JawSize: integer): boolean; override;

 

Public function FavoriteFood: integer;

 

Public procedure FullDisplay(aList: TStrings); override;

 

Protected procedure GiveUp;

give up on a target

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

 

Protected procedure LookForSomethingToEat; overload;

look for food anywhere

Protected procedure LookForSomethingToEat(aBinding: integer); overload;

look for food in water, land, air, etc

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

 

Public function YuckiestFood: integer;

 

Properties

Overview

Public property Memory: AIReportList;
Public property SenseMemory: TStringList;
Public property Senses: AIThingReferenceList;
Public property Timer: integer;

Description

Public property Memory: AIReportList;

 

Public property SenseMemory: TStringList;

 

Public property Senses: AIThingReferenceList;

 

Public property Timer: integer;

 


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