Rename IntegrationGameModeBase to LuprexGameModeBase, and other small refactors
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "Tangible.h"
|
||||
#include "TangibleManager.generated.h"
|
||||
|
||||
class AIntegrationGameModeBase;
|
||||
class ALuprexGameModeBase;
|
||||
|
||||
UCLASS()
|
||||
class INTEGRATION_API UlxTangibleManager : public UObject
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
|
||||
// A pointer to our game mode.
|
||||
UPROPERTY()
|
||||
TWeakObjectPtr<AIntegrationGameModeBase> GameMode;
|
||||
TWeakObjectPtr<ALuprexGameModeBase> GameMode;
|
||||
|
||||
// Given a tangible ID, look up the TangibleComponent of that actor.
|
||||
UPROPERTY()
|
||||
@@ -41,14 +41,14 @@ public:
|
||||
|
||||
// Initialize the tangible manager.
|
||||
//
|
||||
void Init(UWorld *world, AIntegrationGameModeBase *gamemode);
|
||||
void Init(UWorld *world, ALuprexGameModeBase *gamemode);
|
||||
|
||||
// Get a pointer to our world.
|
||||
//
|
||||
UWorld* GetWorld() const override { return World.Get(); }
|
||||
|
||||
// Get a pointer to our game mode.
|
||||
AIntegrationGameModeBase *GetGameMode() { return GameMode.Get(); }
|
||||
ALuprexGameModeBase *GetGameMode() { return GameMode.Get(); }
|
||||
|
||||
// Get the tangible if it exists, otherwise return NULL
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user