Files
punchie-engine/include/GameManager.h
T

19 lines
469 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();
void add_object(void *object, const char *object_tag, EventHandlerPtr eh,
UpdateFuncPtr uf, RenderFuncPtr rf);
void remove_object(const char *object_tag);
void handle_events();
void update();
void render();
void close_game();
#endif // !GAME_H