Game loop finished
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#include "DrawDebugHelpers.h"
|
||||
#include "BuildingBlock.generated.h"
|
||||
|
||||
DECLARE_DELEGATE(FBlockDestroyed);
|
||||
|
||||
UCLASS()
|
||||
class FIREWORKDUELS_API ABuildingBlock : public AActor
|
||||
{
|
||||
@@ -35,16 +37,21 @@ public:
|
||||
UPROPERTY(EditDefaultsOnly, BlueprintReadWrite)
|
||||
int32 Variant = 0;
|
||||
|
||||
UPROPERTY(BlueprintReadOnly)
|
||||
bool IsBeingDestroyed = false;
|
||||
|
||||
FBlockDestroyed OnBlockDestroyed;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void TakeHit();
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
|
||||
UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
|
||||
void DestroyBlock();
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void FadeIn();
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
|
||||
UFUNCTION(BlueprintNativeEvent, BlueprintCallable)
|
||||
void DestroyWithDelay();
|
||||
|
||||
// Get neighbouring Blocks with same color variant
|
||||
|
||||
Reference in New Issue
Block a user