Implemented Heat Blast Gadget Aesthetics

This commit is contained in:
Rafal Swierczek 2024-02-28 06:22:36 +00:00
parent bca178cb45
commit 1088828c46
9 changed files with 58 additions and 10 deletions

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be2d54ca98acf958f09d34320a149ea69adcf7618feb402cd10ede1bae0ba146
size 103693

Binary file not shown.

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f36dbd62982f1fae85ce2aeae6a85218502454c1288dea3d94464bc94366a34
size 22677
oid sha256:b0d2623bcccbe62806245c5b0a2cfe7eaa543ba59c5f29d2ae445682be9da437
size 22662

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e88c49eaafb25948638b0a3319df0732af0381cf5feec08ef4fa6d0396b0d724
size 14020766
oid sha256:12a3a117020f9c6b3f909e88bba4cf8a2c5be5dca187b5f9b33e035ea01056e0
size 14020814

View File

@ -0,0 +1,17 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "HeatBlast.h"
void AHeatBlast::Activate()
{
if (GadgetCantBeUsed()) return;
Super::Activate();
ShootHeatBlast();
}
void AHeatBlast::FinishedUsing()
{
Super::FinishedUsing();
DisplayCooldown(CooldownTime);
}

View File

@ -0,0 +1,25 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "EndlessVendetta/GadgetSystem/CombatGadget.h"
#include "HeatBlast.generated.h"
UCLASS()
class ENDLESSVENDETTA_API AHeatBlast : public ACombatGadget
{
GENERATED_BODY()
void Activate() override;
void FinishedUsing() override;
protected:
UFUNCTION(BlueprintImplementableEvent)
void ShootHeatBlast();
UFUNCTION(BlueprintImplementableEvent)
void DisplayCooldown(float CooldownLength);
};