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.

21 lines
504 B

#ifndef UICONTAINER_H_
#define UICONTAINER_H_
#include "raylib.h"
#include "button.h"
#include "../game.h"
typedef struct UiContainer{
Button *buttons[15];
int buttonCounter;
} UiContainer;
// executes the logic of one button of certain id - huge switch?
void UiContainerUpdateUiContainer(UiContainer *uiContainer, Game *game);
void UiContainerDrawUiContainer(UiContainer *uiContainer);
UiContainer * UiContainerInitPauseUiContainer();
UiContainer * UiContainerInitGameUiContainer();
#endif