Archeus 0.0.0
A C library and game engine that focuses on documentation
Loading...
Searching...
No Matches
state.h
Go to the documentation of this file.
1#ifndef ARC_ENGINE_STATE_H_
2#define ARC_ENGINE_STATE_H_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef void (* ARC_State_UpdateFn)(void *data);
9typedef void (* ARC_State_RenderFn)(void *data);
15
16void ARC_State_Update(void *data);
17
18void ARC_State_Render(void *data);
19
20#ifdef __cplusplus
21}
22#endif
23
24#endif // ARC_ENGINE_STATE_H_
void ARC_State_Render(void *data)
struct ARC_State ARC_State
void(* ARC_State_RenderFn)(void *data)
Definition state.h:9
void ARC_State_Update(void *data)
void(* ARC_State_UpdateFn)(void *data)
Definition state.h:8
ARC_State_UpdateFn updateFn
Definition state.h:11
void * data
Definition state.h:13
ARC_State_RenderFn renderFn
Definition state.h:12