TSnakeScene Class
Definition
Delphi
type TSnakeScene = class(T__SceneAncestor)
- Inheritance
Constructors
| Create(TComponent) |
Returns an instance of this class |
| Destroy |
internal use, call it only if you override it in a descendant |
Properties
Methods
| AddBonus | |
| AfterConstruction |
internal use, call it only if you override it in a descendant |
| AfterLastHideScene |
Contains scene finalization called only one time (during instance destruction) (Inherited from T__SceneAncestor) |
| BeforeFirstShowScene |
Contains scene initialization called only one time (before the first ShowScene, after instance construction) (Inherited from T__SceneAncestor) |
| DGEGamepadManager1AxesChange(Integer, TJoystickAxes, Single) | |
| DGEGamepadManager1DirectionPadChange(Integer, TJoystickDPad) | |
| DoScoreChanged(TObject, TMessage) | |
| DoTranslateTexts(TObject, TMessage) | (Inherited from T__SceneAncestor) |
| DrawCell(Integer, Integer) | |
| FrameResized(TObject) | |
| GameLoopTimer(TObject) | |
| HideScene |
Contains scene finalization. It's called each time the scene is hidden. |
| InitGame | |
| InitKeyboard | |
| ShowScene |
Contains scene initialization. It's called each time the scene is shown. |
| TheSnakeEatTheBonus | |
| TranslateTexts(string) |
This method is called each time a global translation broadcast is sent with current language as argument. (Inherited from T__SceneAncestor) |