isle/LEGO1/legotexturepresenter.cpp
Joshua Peisach 8b2e7a92e1
LegoTexturePresenter destructor and AddToManager (#282)
* LegoTexturePresenter destructor and AddToManager

* clang-format
2023-11-12 14:21:22 -05:00

17 lines
341 B
C++

#include "legotexturepresenter.h"
#include "legoomni.h"
#include "legovideomanager.h"
// OFFSET: LEGO1 0x1004eb40
LegoTexturePresenter::~LegoTexturePresenter()
{
VideoManager()->RemovePresenter(*this);
}
// OFFSET: LEGO1 0x1004ebb0
MxResult LegoTexturePresenter::AddToManager()
{
VideoManager()->AddPresenter(*this);
return SUCCESS;
}