This repository has been archived on 2024-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
MainTree/core/inc-c/state.h

29 lines
547 B
C
Raw Normal View History

#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