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.
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
#include "SinglePlayerGM.h"
|
|
|
|
#include "SinglePlayerGS.h"
|
|
|
|
#include "TurnBasedTutorial/BattleMode/BattlePlayerController.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);
|
|
|
|
// Cast<ABattlePlayerController>(NewPlayer)->
|
|
|
|
// StartPlayingMusic(BackgroundSound);
|
|
|
|
// }
|