36 lines
581 B
C++
Executable File
36 lines
581 B
C++
Executable File
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
class PRESIDENTSBRIGADE_API LevelLocation
|
|
{
|
|
public:
|
|
LevelLocation();
|
|
~LevelLocation();
|
|
|
|
void initialize(UWorld *world, const UClass *marker_class);
|
|
FVector get_random_mark() const;
|
|
bool is_initialized() const;
|
|
|
|
private:
|
|
/**
|
|
* True when initialized.
|
|
*/
|
|
bool initialized = false;
|
|
|
|
/**
|
|
* Random number stream.
|
|
*/
|
|
FRandomStream random;
|
|
|
|
/**
|
|
* List of locations.
|
|
*/
|
|
TArray<FVector> locations;
|
|
};
|