You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
534 B
25 lines
534 B
#ifndef SCREEN_H_
|
|
#define SCREEN_H_
|
|
#include "raylib.h"
|
|
#include "../Ui/uiContainer.h"
|
|
#include "../game.h"
|
|
|
|
typedef struct Screen {
|
|
int id;
|
|
UiContainer *uiContainer;
|
|
|
|
float frameCounter;
|
|
|
|
void (*render)(Game *game); // Funktioneen in screen.c
|
|
} Screen;
|
|
|
|
Screen *InitScreen(Game *game, int id);
|
|
|
|
void ScreenRenderEmptyScreen(Game *game);
|
|
void ScreenRenderGameScreen(Game *game);
|
|
void ScreenRenderMainMenuScreen(Game *game);
|
|
void ScreenRenderPauseScreen(Game *game);
|
|
void ScreenRenderOptionsScreen(Game *game);
|
|
|
|
#endif
|