|
|
virtual void | StartPlay () override |
| |
|
virtual void | Tick (float DeltaSeconds) override |
| |
|
|
bool | bOverrideUserSettings {false} |
| |
|
FUintPoint | GridDims {10, 10} |
| |
|
uint32 | CellSize {10} |
| |
|
uint32 | SnakeDefaultSize {5} |
| |
|
float | GameSpeed {1.0f} |
| |
|
TSubclassOf< ASG_Grid > | GridVisualClass |
| |
|
TSubclassOf< ASG_Snake > | SnakeVisualClass |
| |
|
TSubclassOf< ASG_Food > | FoodVisualClass |
| |
|
TObjectPtr< UDataTable > | ColorsTable |
| |
|
TObjectPtr< UInputAction > | MoveForwardInputAction |
| |
|
TObjectPtr< UInputAction > | MoveRightInputAction |
| |
|
TObjectPtr< UInputAction > | ResetGameInputAction |
| |
|
TObjectPtr< UInputMappingContext > | InputMapping |
| |
|
|
void | NextColor () |
| |
|
SnakeGame::Settings | MakeSettings () const |
| |
|
void | FindFog () |
| |
| void | UpdateColors () |
| |
|
void | SetupInput () |
| |
|
void | OnMoveForward (const FInputActionValue &Value) |
| |
|
void | OnMoveRight (const FInputActionValue &Value) |
| |
|
void | OnGameReset (const FInputActionValue &Value) |
| |
|
void | SubscribeOnGameEvents () |
| |
◆ UpdateColors()
| void ASG_GameMode::UpdateColors |
( |
| ) |
|
|
private |
Updates Grid and ExponentialFog colours according to the ColorsTable property
The documentation for this class was generated from the following files:
- Source/SnakeGame/Framework/SG_GameMode.h
- Source/SnakeGame/Framework/SG_GameMode.cpp