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.
22 lines
579 B
22 lines
579 B
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#include "SinglePlayerGM.h"
|
|
#include "SinglePlayerGS.h"
|
|
|
|
ASinglePlayerGM::ASinglePlayerGM()
|
|
: Super() {
|
|
GameStateClass = ASinglePlayerGS::StaticClass();
|
|
bIsMultiplayer = false;
|
|
}
|
|
|
|
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);
|
|
}
|