Refactoring structs Part 1
This commit is contained in:
1 parent
c19f7c1083
commit
5ae1f1c0d4
56 files changed
+484
-422
No files matched your search
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../display/render.h"
|
||||
#include "../input/input.h"
|
||||
#include "../epoch/epoch.h"
|
||||
|
||||
typedef struct {
|
||||
/** Time Manager for the game */
|
||||
epoch_t time;
|
||||
|
||||
/** Render Manager for the game */
|
||||
render_t render;
|
||||
|
||||
/** Input Manager for the game */
|
||||
input_t input;
|
||||
} engine_t;
|
||||
Reference in new issue
Block a user