Unit State

Classes

TStateAware - Class definition for a state-aware object.

Functions

Types

enumState
PState
TState

Constants

Variables


Functions


Types


enumState = (Undefined,
                  BecomeInvisible,
                  BecomeVisible,
                  BeginGame,
                  Credits,
                  Die,
                  DisableCollisions,
                  DisplayBonus,
                  DisplayLevel,
                  EnableCollisions,
                  EndChannelState,
                  EnterHyperSpace,
                  EnterName,
                  ExitHyperSpace,
                  FindClearRect,
                  FreeGroupedObjects,
                  GameDead,
                  GameOver,
                  GenerateAsteroids,
                  GenerateBart,
                  GetReady,
                  HighScore,
                  Pause,
                  ShowBart,
                  Splash,
                  StopMovement,
                  TakeDownHighScores,
                  UserControl,
                  WaitForClearRect);
All state commands used by objects in Rocks.
PState = ^TState

TState = record
enumCommandState : enumState;
fValue1 : Real;
fValue2 : Real;
end;
Object state tracking structure.

Constants


Variables