|
|
virtual void | Tick (float DeltaTime) override |
| |
| void | SetModel (const TSharedPtr< SnakeGame::Food > &InFood, uint32 InCellSize, const SnakeGame::Dim &InDims) |
| |
|
void | UpdateColor (const FLinearColor &Color) |
| |
|
void | Explode () |
| |
|
void | Hide () |
| |
|
|
TObjectPtr< USceneComponent > | Origin |
| |
|
TObjectPtr< UStaticMeshComponent > | FoodMesh |
| |
|
TObjectPtr< UNiagaraSystem > | ExplosionEffect |
| |
|
|
FVector | GetFoodWorldLocation () const |
| |
◆ SetModel()
Set core model to be observed by the Food world actor
- Parameters
-
| Food | model object |
| CellSize | world size of the cell |
| Dims | dimensions of the grid |
The documentation for this class was generated from the following files:
- Source/SnakeGame/World/SG_Food.h
- Source/SnakeGame/World/SG_Food.cpp