Added SceneManager managed code
This commit is contained in:
parent
437cb075d3
commit
fcf258d773
|
@ -0,0 +1,25 @@
|
||||||
|
/************************************************************************************//*!
|
||||||
|
\file Input.hxx
|
||||||
|
\author Daniel Chua
|
||||||
|
\par email: yeechendaniel.chua@digipen.edu
|
||||||
|
\date Oct 16, 2022
|
||||||
|
\brief Contains the definition of the managed SceneManager static class.
|
||||||
|
|
||||||
|
Note: This file is written in C++17/CLI.
|
||||||
|
|
||||||
|
Copyright (C) 2022 DigiPen Institute of Technology.
|
||||||
|
Reproduction or disclosure of this file or its contents without the prior written consent
|
||||||
|
of DigiPen Institute of Technology is prohibited.
|
||||||
|
*//*************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#include "SceneManager.hxx"
|
||||||
|
#include "Scene/SHSceneManager.h"
|
||||||
|
|
||||||
|
namespace SHADE
|
||||||
|
{
|
||||||
|
void SceneManager::ChangeScene(AssetID sceneAssetID)
|
||||||
|
{
|
||||||
|
SHSceneManager::RestartScene(sceneAssetID);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
/************************************************************************************//*!
|
||||||
|
\file Input.hxx
|
||||||
|
\author Daniel Chua
|
||||||
|
\par email: yeechendaniel.chua@digipen.edu
|
||||||
|
\date Oct 16, 2022
|
||||||
|
\brief Contains the definition of the managed SceneManager static class.
|
||||||
|
|
||||||
|
Note: This file is written in C++17/CLI.
|
||||||
|
|
||||||
|
Copyright (C) 2022 DigiPen Institute of Technology.
|
||||||
|
Reproduction or disclosure of this file or its contents without the prior written consent
|
||||||
|
of DigiPen Institute of Technology is prohibited.
|
||||||
|
*//*************************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "Assets/SHAssetMacros.h"
|
||||||
|
|
||||||
|
namespace SHADE
|
||||||
|
{
|
||||||
|
public ref class SceneManager abstract sealed
|
||||||
|
{
|
||||||
|
static void ChangeScene(AssetID sceneAssetID);
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue