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
687 B

#ifndef UICONTAINER_H_
#define UICONTAINER_H_
#include "raylib.h"
#include "button.h"
#include "selectable.h"
#include "../game.h"
typedef struct UiContainer{
Button *buttons[15]; // Platz für max. 15 Buttons
int buttonCounter; // Zeigt wie viele Buttons der UiContainer aktuell schon speichert
Selectable *selectables[20]; // Platz für max 20 Selectables
int selectableCounter; // Zeigt wie viele Selectables der UiContainer aktuell schon speichert
} UiContainer;
void UiContainerUpdateUiContainer(UiContainer *uiContainer, Game *game);
void UiContainerDrawUiContainer(UiContainer *uiContainer);
UiContainer * UiContainerInitUiContainerForScreenID(int id);
#endif