introduce local player
This commit is contained in:
@@ -12,6 +12,7 @@ class LevelController;
|
||||
class EngineController {
|
||||
Engine& engine;
|
||||
|
||||
int64_t localPlayer = -1;
|
||||
void onMissingContent(const std::shared_ptr<ContentReport>& report);
|
||||
public:
|
||||
EngineController(Engine& engine);
|
||||
@@ -37,5 +38,7 @@ public:
|
||||
const std::string& generatorID
|
||||
);
|
||||
|
||||
void setLocalPlayer(int64_t player);
|
||||
|
||||
void reopenWorld(World* world);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user