Started working on the ObjectStore
This commit is contained in:
1 parent
33066b381e
commit
6b1197bfca
3 files changed
+17
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#ifndef OBJECT_STORE_H
|
||||
#define OBJECT_STORE_H
|
||||
|
||||
#include "Renderer.h"
|
||||
|
||||
typedef void (*UpdateFuncPtr)(float delta, void *object);
|
||||
typedef void (*RenderFuncPtr)(Renderer *renderer, void *object);
|
||||
|
||||
typedef struct object_store ObjectStore;
|
||||
|
||||
void add_object_to_store(ObjectStore *os, UpdateFuncPtr uf, RenderFuncPtr rf);
|
||||
|
||||
#endif // !OBJECT_STORE_H
|
||||
Reference in new issue
Block a user