This commit is contained in:
2022-08-12 19:03:56 +00:00
parent 406b2b491f
commit b0d2757f70
29 changed files with 519 additions and 442 deletions

View File

@@ -37,10 +37,7 @@ struct mGameObject {
float f; /* friction */
float e; /* elasticity */
struct vec *components;
char *start;
char *update;
char *fixedupdate;
char *stop;
char *script;
};
struct mGameObject *MakeGameobject();
@@ -71,4 +68,6 @@ void update_gameobjects();
void gameobject_move(struct mGameObject *go, float xs, float ys);
void gameobject_rotate(struct mGameObject *go, float as);
void object_gui(struct mGameObject *go);
#endif