You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
547 B
20 lines
547 B
2 years ago
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||
|
|
||
|
#include "SinglePlayerGM.h"
|
||
|
#include "SinglePlayerGS.h"
|
||
|
|
||
|
ASinglePlayerGM::ASinglePlayerGM() : Super() {
|
||
|
GameStateClass = ASinglePlayerGS::StaticClass();
|
||
|
}
|
||
|
|
||
|
void ASinglePlayerGM::BeginPlay() {
|
||
|
Super::BeginPlay();
|
||
|
UE_LOG(LogTemp, Warning, TEXT("SinglePlayer GameMode BeginPlay"));
|
||
|
GameStateClass = ASinglePlayerGS::StaticClass();
|
||
|
StartGame();
|
||
|
}
|
||
|
|
||
|
void ASinglePlayerGM::PostLogin(APlayerController *NewPlayer) {
|
||
|
AGameMode::PostLogin(NewPlayer);
|
||
|
}
|