mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-07 05:57:47 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
#ifndef ROBLOXINFO_H
|
||||
#define ROBLOXINFO_H
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "rbx/Debug.h"
|
||||
|
||||
class RobloxInfo
|
||||
{
|
||||
public:
|
||||
|
||||
static RobloxInfo& getRobloxInfo()
|
||||
{
|
||||
static RobloxInfo robloxInfo;
|
||||
return robloxInfo;
|
||||
}
|
||||
|
||||
std::string getAssetFolderPath()
|
||||
{
|
||||
if(assetFolderPath.empty())
|
||||
RBXASSERT("Asset Path is not Set");
|
||||
|
||||
return assetFolderPath;
|
||||
}
|
||||
|
||||
void setAssetFolderPath(std::string assetPath)
|
||||
{
|
||||
assetFolderPath = assetPath;
|
||||
}
|
||||
|
||||
private:
|
||||
RobloxInfo() {};
|
||||
RobloxInfo(RobloxInfo const&);
|
||||
void operator=(RobloxInfo const&);
|
||||
std::string assetFolderPath;
|
||||
|
||||
};
|
||||
|
||||
#endif // ROBLOXINFO_H
|
||||
Reference in New Issue
Block a user