Add **Web platform with Emscripten**
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "Mac/MacGame.h"
|
||||
#elif PLATFORM_IOS
|
||||
#include "iOS/iOSGame.h"
|
||||
#elif PLATFORM_WEB
|
||||
#include "Web/WebGame.h"
|
||||
#else
|
||||
#error Missing Game implementation!
|
||||
#endif
|
||||
|
||||
19
Source/Engine/Engine/Web/WebGame.h
Normal file
19
Source/Engine/Engine/Web/WebGame.h
Normal file
@@ -0,0 +1,19 @@
|
||||
// Copyright (c) Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#if PLATFORM_WEB
|
||||
|
||||
#include "../Base/GameBase.h"
|
||||
|
||||
/// <summary>
|
||||
/// The game class implementation for Web platform.
|
||||
/// </summary>
|
||||
/// <seealso cref="Game" />
|
||||
class WebGame : public GameBase
|
||||
{
|
||||
};
|
||||
|
||||
typedef WebGame Game;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user