2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-16 04:57:01 +00:00

Additional particle imps

This commit is contained in:
Jack Andersen
2016-02-11 12:38:25 -10:00
parent b53b143868
commit ffdea0c2b9
10 changed files with 334 additions and 81 deletions

View File

@@ -234,6 +234,7 @@ public:
: CToken(GetIObjObjectFor(std::unique_ptr<T>(obj))) {}
TToken& operator=(T* obj) {*this = CToken(GetIObjObjectFor(obj)); return this;}
T* GetObj() {return static_cast<TObjOwnerDerivedFromIObj<T>*>(CToken::GetObj())->GetObj();}
T* operator->() {return GetObj();}
};
template <class T>