mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-23 06:52:29 +00:00
refactor: wire IPlatformLeaderboard and IPlatformNetwork into PlatformServices
This commit is contained in:
@@ -1,18 +1,15 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "IPlatformInput.h"
|
#include "IPlatformInput.h"
|
||||||
|
#include "IPlatformLeaderboard.h"
|
||||||
|
#include "IPlatformNetwork.h"
|
||||||
#include "IPlatformProfile.h"
|
#include "IPlatformProfile.h"
|
||||||
#include "IPlatformRenderer.h"
|
#include "IPlatformRenderer.h"
|
||||||
#include "IPlatformStorage.h"
|
#include "IPlatformStorage.h"
|
||||||
|
|
||||||
class IPlatformInput;
|
// Interface references to platform services. Game code uses these
|
||||||
class IPlatformProfile;
|
// instead of concrete globals directly. Bindings are established
|
||||||
class IPlatformRenderer;
|
// by the app layer at startup.
|
||||||
class IPlatformStorage;
|
|
||||||
|
|
||||||
// Interface references to platform services. World code uses these
|
|
||||||
// instead of the concrete 4J globals directly. The bindings are
|
|
||||||
// established by the app layer at startup.
|
|
||||||
|
|
||||||
extern IPlatformInput& PlatformInput;
|
extern IPlatformInput& PlatformInput;
|
||||||
extern IPlatformProfile& PlatformProfile;
|
extern IPlatformProfile& PlatformProfile;
|
||||||
|
|||||||
Reference in New Issue
Block a user