minicook/Source/minicook/OvenCookspot.h

35 lines
No EOL
833 B
C++

// Stefan Stefanov 2023
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "OvenCookspot.generated.h"
UCLASS()
class MINICOOK_API AOvenCookspot : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AOvenCookspot();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Oven Settings")
TObjectPtr<UStaticMeshComponent> FireMesh;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Oven Settings")
TObjectPtr<UStaticMeshComponent> FireElementMesh;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Oven Settings")
TObjectPtr<UStaticMeshComponent> CookpotMesh;
};