Simplified dispose function of DisposableComponents

This commit is contained in:
Simon Lübeß
2021-12-30 16:52:13 +01:00
parent b3ab30e72a
commit b555cc37d1
7 changed files with 26 additions and 29 deletions
@@ -7,6 +7,6 @@ namespace GlitchyEngine.World
* @Note This function will be called when the given component was removed from the entity
* or when the entity itself was removed.
*/
static void DisposeComponent(void* component);
void Dispose() mut;
}
}