Implemented the core functionality of the ObjectStore and started

implementing the functionality for the AssetManager
This commit is contained in:
abdelrahman committed 2022-09-22 01:56:21 +01:00
1 parent 79f28100bd
commit c4f1775392
14 files changed
+330 -383

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#ifndef GAME_H
#define GAME_H
#include "ObjectStore.h"
#include <stdbool.h>
bool init_game(const char *game_name, int window_width, int window_height,
bool full_screen);
bool game_running();
ObjectID add_object(void *object, EventHandlerPtr eh, UpdateFuncPtr uf,
RenderFuncPtr rf);
void remove_object(ObjectID id);
void handle_events();
void update();
void render();
void close_game();
#endif // !GAME_H