Files
punchie-engine/include/GameEngine.h
T
abdelrahman c4f1775392 Implemented the core functionality of the ObjectStore and started
implementing the functionality for the AssetManager
2022-09-22 01:56:21 +01:00

19 lines
442 B
C

#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