Class TMuggleManager
Unit
MuggleManager
Declaration
type TMuggleManager = class(TMuggleBaseObject
)
Description
----------------------------------------------------------------------------Hierarchy
TMuggleBaseObject
Methods
Overview
Description
|
function CanAdd(aClassType: TMuggleClass): boolean; overload; |
is a new object of this class allowed?
|
function CanAdd(aClassID: integer): boolean; overload; |
is a new object of this classID allowed?
|
procedure CheckCradle; |
|
procedure CheckTrash; |
|
Constructor Create; override; |
|
procedure CreateODE; |
|
Destructor Destroy; override; |
|
procedure DestroyODE; |
|
procedure Extinction(aClassName: string); overload; |
extinction by class name
|
procedure Extinction(aClassID: integer); overload; |
extinction by ClassID
|
function FindClassID(aClassName: string): integer; overload; |
Find a ClassID by its singular name
|
function FindClassID(aClass: TMuggleClass): integer; overload; |
Find a classID by its class
|
function FindClassIDAny(aClassNamePlural: string): integer; |
Find a ClassID by any name, plural or singular
add a new object by ClassID (delegates to actual)
add a new object by name (delegates to actual)
add a new object by class (delegates to actual)
add a new object by ClassID and Class (actual)
|
function RegisterClass( aClass: TMuggleClass; aName, aNamePlural: string; aMaximum: integer): integer; |
Register a new class, must be done before adding a new object
|
procedure SetArrayLengths(aSize: integer); |
procedure CreateTables; procedure DestroyTables; procedure ClearTables; procedure CheckCollisions;
|
procedure Step(aAmount: single); |
step the world
|
procedure StepAllObjects; |
|
procedure StepAllPhysics(aAmount: single); |
|
procedure StepODE(aAmount: single); |
|
procedure TrashEverything; |
|
function ValidClassID(aClassID: integer): boolean; |
Check to see if a ClassID is valid
|
function ValidClassName(aClassName: string): boolean; |
Check to see if a singular ClassName is valid
|
function ValidClassNameAny(aClassName: string): boolean; |
Check to see if a singular/plural ClassName is valid
Properties
Overview
Description
|
property ArraySize: integer; |
array size (UniqueKind rounded by 16)
list of all colliding objects
list of new things
list of definitions
indexed list of definitions
list of all things that exist
|
property ODE: boolean; |
is ODE on?
|
property OdeContactGroup: TdJointGroupID; |
ODE collision contact group
|
property OdeSpace: PdxSpace; |
ODE space
|
property OdeWorld: PdxWorld; |
ODE world
list of things condemned to deletion
list of Position.Fueled objects
list of all tangible things (can be touched)
|
property Time: integer; |
internal time clock
list of things to delete
|
property UniqueKind: integer; |
the next unique kind
Generated by PasDoc 0.8.7 on Mon 29/ Sep 2003 18:51:05