Implemented Vision Ping Aesthetics

This commit is contained in:
Rafal Swierczek 2024-02-28 03:11:04 +00:00
parent aaf871a09b
commit 26d4540541
8 changed files with 62 additions and 8 deletions

Binary file not shown.

View File

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

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:4bbd7da449cdfa4525a6526bfde4f568844837d44d8cea802654c2376671022c oid sha256:169c97efdea6ae14981bcaf6147ba24f285a108423c3082d4df76446641aaa1a
size 14020814 size 14020766

View File

@ -0,0 +1,18 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "VisionPulse.h"
void AVisionPulse::Activate()
{
if (GadgetCantBeUsed()) return;
Super::Activate();
SendOutPulse();
//try to unequip for a easier user experience
}
void AVisionPulse::FinishedUsing()
{
Super::FinishedUsing();
DisplayCooldown(CooldownTime);
}

View File

@ -0,0 +1,30 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "EndlessVendetta/GadgetSystem/ReconGadget.h"
#include "VisionPulse.generated.h"
/**
*
*/
UCLASS()
class ENDLESSVENDETTA_API AVisionPulse : public AReconGadget
{
GENERATED_BODY()
void Activate() override;
void FinishedUsing() override;
protected:
UFUNCTION(BlueprintImplementableEvent)
void SendOutPulse();
UFUNCTION(BlueprintImplementableEvent)
void DisplayCooldown(float CooldownLength);
};