mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-27 08:12:55 +00:00
refactor: wire IPlatformLeaderboard and IPlatformNetwork into PlatformServices
This commit is contained in:
parent
d2d5cd6536
commit
f2a6d29fa1
|
|
@ -1,18 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include "IPlatformInput.h"
|
||||
#include "IPlatformLeaderboard.h"
|
||||
#include "IPlatformNetwork.h"
|
||||
#include "IPlatformProfile.h"
|
||||
#include "IPlatformRenderer.h"
|
||||
#include "IPlatformStorage.h"
|
||||
|
||||
class IPlatformInput;
|
||||
class IPlatformProfile;
|
||||
class IPlatformRenderer;
|
||||
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.
|
||||
// Interface references to platform services. Game code uses these
|
||||
// instead of concrete globals directly. Bindings are established
|
||||
// by the app layer at startup.
|
||||
|
||||
extern IPlatformInput& PlatformInput;
|
||||
extern IPlatformProfile& PlatformProfile;
|
||||
|
|
|
|||
Loading…
Reference in a new issue