2018-09-05 13:17:07 +08:00
|
|
|
#include "..\e2dmodule.h"
|
2018-09-05 13:33:39 +08:00
|
|
|
#include "..\e2dtool.h"
|
2018-07-03 18:16:26 +08:00
|
|
|
|
2018-07-07 01:43:41 +08:00
|
|
|
|
2018-09-07 00:28:54 +08:00
|
|
|
e2d::GC e2d::GC::instance_;
|
2018-09-02 14:30:48 +08:00
|
|
|
|
2018-07-06 00:47:50 +08:00
|
|
|
e2d::GC::GC()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2018-07-03 18:16:26 +08:00
|
|
|
e2d::GC::~GC()
|
|
|
|
|
{
|
2018-09-04 22:42:34 +08:00
|
|
|
Image::ClearCache();
|
2018-07-03 18:16:26 +08:00
|
|
|
|
2018-09-04 22:42:34 +08:00
|
|
|
Player::DestroyInstance();
|
|
|
|
|
Audio::DestroyInstance();
|
|
|
|
|
Renderer::DestroyInstance();
|
|
|
|
|
Input::DestroyInstance();
|
|
|
|
|
Window::DestroyInstance();
|
|
|
|
|
Game::DestroyInstance();
|
2018-09-02 14:30:48 +08:00
|
|
|
}
|