29 lines
547 B
C
29 lines
547 B
C
|
|
#ifndef MT_STATE_H
|
|
#define MT_STATE_H
|
|
|
|
#include <tag_registry.h>
|
|
#include <entity.h>
|
|
|
|
#include <librr/types.h>
|
|
#include <librr/alloc/generic.h>
|
|
|
|
typedef struct MtState MtState;
|
|
|
|
struct MtState
|
|
{
|
|
char *app_name;
|
|
|
|
MtTagRegistry tag_registry;
|
|
MtEntityRegistry entity_registry;
|
|
};
|
|
|
|
MtState * mt_initialize(char *app_name);
|
|
void mt_cleanup(MtState *state);
|
|
void mt_start(MtState *state);
|
|
|
|
MtEntity * mt_summon(MtState *state);
|
|
void mt_delete(MtEntity *entity);
|
|
|
|
#endif // MT_STATE_H
|