#include "HydraObject.h" #include "HydraEngine.h" HydraEngine *const HydraObject::GetEngine() { return HydraEngine::GetInstance(); } void HydraObject::DebugLog(std::string log_entry) { #ifdef __unix__ /* __unix__ is usually defined by compilers targeting Unix systems */ std::cout << log_entry + "\r\n"; #elif defined(_WIN32) || defined(WIN32) /* _Win32 is usually defined by compilers targeting 32 or 64 bit Windows systems */ //OutputDebugString(log_entry.c_str()); #endif } void HydraObject::ClearLog() { std::cout << "\x1B[2J\x1B[H"; }