Implemented Heat Blast Gadget Aesthetics
This commit is contained in:
parent
bca178cb45
commit
1088828c46
BIN
EndlessVendetta/Content/Gadgets/BP_Grenade.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/Gadgets/BP_Grenade.uasset
(Stored with Git LFS)
Binary file not shown.
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be2d54ca98acf958f09d34320a149ea69adcf7618feb402cd10ede1bae0ba146
|
||||||
|
size 103693
|
BIN
EndlessVendetta/Content/Gadgets/CombatGadgets/HeatBlast/WBP_HeatBlastDisplay.uasset
(Stored with Git LFS)
Normal file
BIN
EndlessVendetta/Content/Gadgets/CombatGadgets/HeatBlast/WBP_HeatBlastDisplay.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:7f36dbd62982f1fae85ce2aeae6a85218502454c1288dea3d94464bc94366a34
|
oid sha256:b0d2623bcccbe62806245c5b0a2cfe7eaa543ba59c5f29d2ae445682be9da437
|
||||||
size 22677
|
size 22662
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:e88c49eaafb25948638b0a3319df0732af0381cf5feec08ef4fa6d0396b0d724
|
oid sha256:12a3a117020f9c6b3f909e88bba4cf8a2c5be5dca187b5f9b33e035ea01056e0
|
||||||
size 14020766
|
size 14020814
|
||||||
|
BIN
EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/Architecture/Floor_400x400.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
EndlessVendetta/Content/StarterContent/Blueprints/Blueprint_CeilingLight.uasset
(Stored with Git LFS)
BIN
EndlessVendetta/Content/StarterContent/Blueprints/Blueprint_CeilingLight.uasset
(Stored with Git LFS)
Binary file not shown.
@ -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);
|
||||||
|
}
|
@ -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);
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user