Remove unnecessary GameState class

This commit is contained in:
2023-08-28 15:19:44 -04:00
parent 7a95a6f3fc
commit 1ad1beb029
3 changed files with 1 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
{ {
"FileVersion": 3, "FileVersion": 3,
"EngineAssociation": "{5E90EF91-4077-C166-B36B-B3BF9C2102DB}", "EngineAssociation": "5.2",
"Category": "", "Category": "",
"Description": "", "Description": "",
"Modules": [ "Modules": [

View File

@@ -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");
}

View File

@@ -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;
};