type AIForce = class()
procedure AlterDeltaHeight(aAmount: single); |
|
procedure AlterDeltaX(aAmount: single); |
|
procedure AlterDeltaY(aAmount: single); |
|
procedure ApplyAngularForce(aXYAngle: single; aStrength: single); overload; |
|
procedure ApplyAngularForce(aXYAngle: single; aHeightAngle: single; aStrength: single); overload; |
|
procedure ApplyForce(aForce: AIForce); overload; |
|
procedure ApplyForce(aForce: TAffineVector); overload; |
|
procedure ApplyForce(aDeltaX: single; aDeltaY: single; aDeltaHeight: single); overload; |
|
procedure ApplyMassiveForce(aForce: AIForce; aMass: single); |
|
procedure ApplyNeutralizingAngularForce(aXYAngle: single; aHeightAngle: single; aStrength: single); |
|
procedure ApplyNeutralizingForce(aForce: AIForce); |
|
procedure ApplyOppositeForce(aForce: AIForce); |
|
function AsAffineVector: TAffineVector; |
|
procedure CopyFrom(aForce: AIForce); |
|
procedure Invert; |
|
procedure InvertHeight; |
|
procedure InvertX; |
|
procedure InvertXY; |
|
procedure InvertY; |
|
function Length: single; |
|
procedure LimitForce; |
|
procedure LimitSpeed(aMax: single); |
|
procedure LoadFromFile(var aFile: TextFile); |
|
function OneLineDisplay: string; |
|
procedure ReverseY; |
|
procedure SaveToFile(var aFile: TextFile); |
|
procedure Scale(aFactor: single); |
|
procedure SetAngularForce(aXYAngle: single; aHeightAngle: single; aStrength: single); |
|
procedure SetForce(aDeltaX: single; aDeltaY: single; aDeltaHeight: single); overload; |
|
procedure SetForce(aVector: TAffineVector); overload; |
|
procedure Shrink(aAmount: single); |
|
function Stale: boolean; |
|
function Strength: single; |
|
function Valid: boolean; |
|
procedure XYScale(aFactor: single); |
|
function XYStrength: single; |
|
procedure Zero; |
|
procedure Zero2; |
procedure AlterDeltaHeight(aAmount: single); |
procedure AlterDeltaX(aAmount: single); |
modify the components
procedure AlterDeltaY(aAmount: single); |
procedure ApplyAngularForce(aXYAngle: single; aStrength: single); overload; |
procedure ApplyAngularForce(aXYAngle: single; aHeightAngle: single; aStrength: single); overload; |
procedure ApplyForce(aForce: AIForce); overload; |
add a force (+)
procedure ApplyForce(aForce: TAffineVector); overload; |
procedure ApplyForce(aDeltaX: single; aDeltaY: single; aDeltaHeight: single); overload; |
procedure ApplyMassiveForce(aForce: AIForce; aMass: single); |
apply a force, accounting for mass
procedure ApplyNeutralizingAngularForce(aXYAngle: single; aHeightAngle: single; aStrength: single); |
weakens the force towards 0
procedure ApplyNeutralizingForce(aForce: AIForce); |
procedure ApplyOppositeForce(aForce: AIForce); |
function AsAffineVector: TAffineVector; |
procedure CopyFrom(aForce: AIForce); |
procedure Invert; |
procedure InvertHeight; |
procedure InvertX; |
procedure InvertXY; |
procedure InvertY; |
function Length: single; |
procedure LimitForce; |
procedure LimitSpeed(aMax: single); |
procedure LoadFromFile(var aFile: TextFile); |
function OneLineDisplay: string; |
procedure ReverseY; |
procedure SaveToFile(var aFile: TextFile); |
procedure Scale(aFactor: single); |
procedure SetAngularForce(aXYAngle: single; aHeightAngle: single; aStrength: single); |
procedure SetForce(aDeltaX: single; aDeltaY: single; aDeltaHeight: single); overload; |
set the force (=)
procedure SetForce(aVector: TAffineVector); overload; |
procedure Shrink(aAmount: single); |
true if strenght = 0
function Stale: boolean; |
sets force to 0
function Strength: single; |
function Valid: boolean; |
procedure XYScale(aFactor: single); |
function XYStrength: single; |
procedure Zero; |
procedure Zero2; |
sets force to 0
property DeltaHeight: single; |
|
property DeltaX: single; |
|
property DeltaY: single; |
property DeltaHeight: single; |
property DeltaX: single; |
property DeltaY: single; |