21 lines
357 B
C
21 lines
357 B
C
#pragma once
|
|
|
|
#include "Entity.h"
|
|
#include "Physics_Component.h"
|
|
#include "Player_Component.h"
|
|
#include "Input.h"
|
|
#include "Types.h"
|
|
|
|
|
|
typedef struct _App {
|
|
System_Physics *physics;
|
|
System_Player *player;
|
|
System_Input *input;
|
|
} App;
|
|
|
|
App *app_NewApp();
|
|
void app_DeleteApp(App *app);
|
|
|
|
void app_Advance(App *app, Duration deltaTime);
|
|
void app_Render();
|