4jcraft/minecraft/platform/PlatformServices.h

16 lines
472 B
C

#pragma once
#include "IPlatformInput.h"
#include "IPlatformProfile.h"
#include "IPlatformRender.h"
#include "IPlatformStorage.h"
// 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 IPlatformProfile& PlatformProfile;
extern IPlatformRender& PlatformRender;
extern IPlatformStorage& PlatformStorage;