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

Class AIDNA

Unit

cAIDNA

Declaration

type AIDNA = class()

Description

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

Methods

Overview

Public procedure Combine(FatherDNA, MotherDNA: AIDNA);
Public procedure CopyFrom(aDNA: AIDNA);
Public Constructor Create;
Public Destructor Destroy; override;
Public procedure FullDisplay(aList: TStrings);
Public procedure LoadFromFile(var aFile: TextFile);
Public procedure LoadFromINI(aFileName: string);
Public function OneLineDisplay: string;
Public procedure SaveToFile(var aFile: TextFile);
Public function SaveToINI(aFileName: string): boolean;
Protected procedure SetBlue(aValue: single);
Protected procedure SetBounce(aValue: single);
Protected procedure SetBuoyancy(aValue: single);
Protected procedure SetGreen(aValue: single);
Protected procedure SetPreferredFood(aValue: integer);
Protected procedure SetRed(aValue: single);

Description

Public procedure Combine(FatherDNA, MotherDNA: AIDNA);

combine two DNA values into one

Public procedure CopyFrom(aDNA: AIDNA);

 

Public Constructor Create;

create and delete

Public Destructor Destroy; override;

 

Public procedure FullDisplay(aList: TStrings);

 

Public procedure LoadFromFile(var aFile: TextFile);

 

Public procedure LoadFromINI(aFileName: string);

 

Public function OneLineDisplay: string;

display routines

Public procedure SaveToFile(var aFile: TextFile);

file load/save routines

Public function SaveToINI(aFileName: string): boolean;

 

Protected procedure SetBlue(aValue: single);

 

Protected procedure SetBounce(aValue: single);

 

Protected procedure SetBuoyancy(aValue: single);

 

Protected procedure SetGreen(aValue: single);

 

Protected procedure SetPreferredFood(aValue: integer);

 

Protected procedure SetRed(aValue: single);

 

Properties

Overview

Public property Blue: single;
Public property Bounce: single;
Public property Buoyancy: single;
Public property Green: single;
Public property GrowthRate: single;
Public property MassMax: single;
Public property Mutation: single;
Public property PreferredFood: integer;
Public property Red: single;
Public property SizeMax: single;

Description

Public property Blue: single;

 

Public property Bounce: single;

 

Public property Buoyancy: single;

 

Public property Green: single;

 

Public property GrowthRate: single;

 

Public property MassMax: single;

 

Public property Mutation: single;

properties

Public property PreferredFood: integer;

 

Public property Red: single;

 

Public property SizeMax: single;

 


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