Bare minimum tangible manager functionality OK
This commit is contained in:
@@ -22,21 +22,21 @@ public:
|
||||
UPROPERTY()
|
||||
TSubclassOf<AActor> ClassTangibleActor;
|
||||
|
||||
//// Given a tangible ID, look up actor pointer (or NULL if actor was deleted)
|
||||
//UPROPERTY()
|
||||
//TMap<int64, AActor*> IdToActor;
|
||||
// Given a tangible ID, look up actor pointer (or NULL if actor was deleted)
|
||||
UPROPERTY()
|
||||
TMap<int64, AActor*> IdToActor;
|
||||
|
||||
public:
|
||||
// Initialize the tangible manager.
|
||||
//
|
||||
void Init(UWorld *world, UClass* tanact);
|
||||
|
||||
//// Get the tangible if it exists, otherwise return NULL
|
||||
//AActor* GetTangible(int64 id);
|
||||
// Get the tangible if it exists, otherwise return NULL
|
||||
AActor* GetTangible(int64 id);
|
||||
|
||||
//// Get the tangible if it exists, otherwise create it.
|
||||
//AActor* MakeTangible(int64 id);
|
||||
// Get the tangible if it exists, otherwise create it.
|
||||
AActor* MakeTangible(int64 id);
|
||||
|
||||
//// Delete the tangible.
|
||||
//void DeleteTangible(int64 id);
|
||||
// Delete the tangible.
|
||||
void DeleteTangible(int64 id);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user