Fixed outdated header includes in cxx files
Changed references to isActive to function calls
This commit is contained in:
parent
0373754e37
commit
7315d3038f
|
@ -20,7 +20,7 @@ of DigiPen Institute of Technology is prohibited.
|
|||
#include <sstream>
|
||||
#include <msclr\marshal_cppstd.h>
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System/SHEntityManager.h"
|
||||
#include "ECS_Base/Managers/SHEntityManager.h"
|
||||
// Project Headers
|
||||
#include "Utility/Convert.hxx"
|
||||
#include "Utility/Debug.hxx"
|
||||
|
|
|
@ -17,8 +17,8 @@ of DigiPen Institute of Technology is prohibited.
|
|||
// Primary Include
|
||||
#include "ECS.hxx"
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System/SHComponentManager.h"
|
||||
#include "ECS_Base/System/SHEntityManager.h"
|
||||
#include "ECS_Base/Managers/SHComponentManager.h"
|
||||
#include "ECS_Base/Managers/SHEntityManager.h"
|
||||
|
||||
namespace SHADE
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@ of DigiPen Institute of Technology is prohibited.
|
|||
#pragma once
|
||||
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System/SHComponentManager.h"
|
||||
#include "ECS_Base/Managers/SHComponentManager.h"
|
||||
// Project Includes
|
||||
#include "Components/Component.hxx"
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ of DigiPen Institute of Technology is prohibited.
|
|||
// Primary Header
|
||||
#include "Entity.hxx"
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System/SHEntityManager.h"
|
||||
#include "ECS_Base/Managers/SHEntityManager.h"
|
||||
|
||||
namespace SHADE
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ of DigiPen Institute of Technology is prohibited.
|
|||
// Primary Header
|
||||
#include "GameObject.hxx"
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System/SHEntityManager.h"
|
||||
#include "ECS_Base/Managers/SHEntityManager.h"
|
||||
// Project Headers
|
||||
#include "ECS.hxx"
|
||||
#include "Scripts/ScriptStore.hxx"
|
||||
|
@ -52,7 +52,7 @@ namespace SHADE
|
|||
}
|
||||
bool GameObject::IsActiveSelf::get()
|
||||
{
|
||||
return GetNativeEntity().isActive;
|
||||
return GetNativeEntity().GetActive();
|
||||
}
|
||||
bool GameObject::IsActiveInHierarchy::get()
|
||||
{
|
||||
|
@ -68,7 +68,7 @@ namespace SHADE
|
|||
}
|
||||
void GameObject::SetActive(bool active)
|
||||
{
|
||||
GetNativeEntity().isActive = active;
|
||||
GetNativeEntity().SetActive(active);
|
||||
}
|
||||
|
||||
/*---------------------------------------------------------------------------------*/
|
||||
|
|
|
@ -19,7 +19,7 @@ of DigiPen Institute of Technology is prohibited.
|
|||
// Standard Libraries
|
||||
#include <sstream>
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System/SHEntityManager.h"
|
||||
#include "ECS_Base/Managers/SHEntityManager.h"
|
||||
// Project Headers
|
||||
#include "Utility/Debug.hxx"
|
||||
#include "Utility/Convert.hxx"
|
||||
|
@ -668,6 +668,6 @@ namespace SHADE
|
|||
throw gcnew System::InvalidOperationException("Attempted to get native Component to an invalid Entity.");
|
||||
|
||||
// Check active state
|
||||
return nativeEntity->isActive;
|
||||
return nativeEntity->GetActive();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ of DigiPen Institute of Technology is prohibited.
|
|||
// Primary Header
|
||||
#include "Convert.hxx"
|
||||
// External Dependencies
|
||||
#include "ECS_Base/System//SHEntityManager.h"
|
||||
#include "ECS_Base/Managers/SHEntityManager.h"
|
||||
#include <msclr/marshal_cppstd.h>
|
||||
|
||||
namespace SHADE
|
||||
|
|
Loading…
Reference in New Issue