1
0
Fork 0

Added documentation

This commit is contained in:
Tycho 2014-07-14 21:21:17 +01:00
parent 333f4f982c
commit 2cd3443fbb
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
#pragma once
// mixin for use to clear meta values when the block is converted to a pickup
// Usage: inherit from this class, passing the parent class as the parameter Base
// For example to use in class Foo which should inherit Bar use
// class Foo : public cClearMetaOnDrop<Bar>;
template<class Base>
class cClearMetaOnDrop : public Base
{