From 1ad1beb029ba56446132de35b9d5ed3eddaba16c Mon Sep 17 00:00:00 2001 From: jyelon Date: Mon, 28 Aug 2023 15:19:44 -0400 Subject: [PATCH] Remove unnecessary GameState class --- Integration.uproject | 2 +- Source/Integration/MyLuprexGameStateBase.cpp | 17 ----------------- Source/Integration/MyLuprexGameStateBase.h | 20 -------------------- 3 files changed, 1 insertion(+), 38 deletions(-) delete mode 100644 Source/Integration/MyLuprexGameStateBase.cpp delete mode 100644 Source/Integration/MyLuprexGameStateBase.h diff --git a/Integration.uproject b/Integration.uproject index 79dee1a0..0a854e5b 100644 --- a/Integration.uproject +++ b/Integration.uproject @@ -1,6 +1,6 @@ { "FileVersion": 3, - "EngineAssociation": "{5E90EF91-4077-C166-B36B-B3BF9C2102DB}", + "EngineAssociation": "5.2", "Category": "", "Description": "", "Modules": [ diff --git a/Source/Integration/MyLuprexGameStateBase.cpp b/Source/Integration/MyLuprexGameStateBase.cpp deleted file mode 100644 index 37c3f1ac..00000000 --- a/Source/Integration/MyLuprexGameStateBase.cpp +++ /dev/null @@ -1,17 +0,0 @@ -// Fill out your copyright notice in the Description page of Project Settings. - - -#include "MyLuprexGameStateBase.h" - -static void printq(const char* msg) { - if (GEngine) - GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Yellow, FString(msg)); -} - -void AMyLuprexGameStateBase::Tick(float DeltaSeconds) { - printq("Tick"); -} - -void AMyLuprexGameStateBase::BeginPlay() { - printq("AMyLuprexGameStateBase OK"); -} diff --git a/Source/Integration/MyLuprexGameStateBase.h b/Source/Integration/MyLuprexGameStateBase.h deleted file mode 100644 index 521d7b78..00000000 --- a/Source/Integration/MyLuprexGameStateBase.h +++ /dev/null @@ -1,20 +0,0 @@ -// Fill out your copyright notice in the Description page of Project Settings. - -#pragma once - -#include "CoreMinimal.h" -#include "GameFramework/GameStateBase.h" -#include "MyLuprexGameStateBase.generated.h" - -/** - * - */ -UCLASS() -class INTEGRATION_API AMyLuprexGameStateBase : public AGameStateBase -{ - GENERATED_BODY() -public: - virtual void BeginPlay() override; - virtual void Tick(float) override; - -};