TSnakeScene Class

Unit: uSceneSnake
TFrame
  _ScenesAncestor.T__SceneAncestor
    uSceneSnake.TSnakeScene
type TSnakeScene = class(T__SceneAncestor)

The TSnakeScene type exposes the following members.

Show:
 NameDescription
Create

Returns an instance of this class (Overrides _ScenesAncestor.T__SceneAncestor.Create .)

Destroy

internal use, call it only if you override it in a descendant (Overrides _ScenesAncestor.T__SceneAncestor.Destroy .)

Top
Show:
 NameDescription
BonusX

BonusY

FirstX

FirstY

HasBonus

Score

Speed

Top
Show:
 NameDescription
AddBonus

AfterConstruction

internal use, call it only if you override it in a descendant (Overrides _ScenesAncestor.T__SceneAncestor.AfterConstruction .)

AfterLastHideScene

Contains scene finalization called only one time (during instance destruction) (Inherited from _ScenesAncestor.T__SceneAncestor .)

BeforeFirstShowScene

Contains scene initialization called only one time (before the first ShowScene, after instance construction) (Inherited from _ScenesAncestor.T__SceneAncestor .)

DGEGamepadManager1AxesChange

DGEGamepadManager1DirectionPadChange

DoScoreChanged

DoTranslateTexts
DrawCell

FrameResized

GameLoopTimer

HideScene

Contains scene finalization. It's called each time the scene is hidden. (Overrides _ScenesAncestor.T__SceneAncestor.HideScene .)

InitGame

InitKeyboard

ShowScene

Contains scene initialization. It's called each time the scene is shown. (Overrides _ScenesAncestor.T__SceneAncestor.ShowScene .)

TheSnakeEatTheBonus

TranslateTexts

This method is called each time a global translation broadcast is sent with current language as argument. (Inherited from _ScenesAncestor.T__SceneAncestor .)

Top