32 lines
588 B
C++
32 lines
588 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/GameMode.h"
|
|
#include "BlasterGameMode.generated.h"
|
|
|
|
namespace MatchState
|
|
{
|
|
extern OSS_API const FName Cooldown; // Match duration has been reached. Display winner and begin cooldown timer
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class OSS_API ABlasterGameMode : public AGameMode
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
virtual void Tick(float DeltaTime) override;
|
|
|
|
UPROPERTY(EditDefaultsOnly)
|
|
float MatchTime = 30.f;
|
|
|
|
protected:
|
|
virtual void BeginPlay() override;
|
|
|
|
};
|