Add units UI

This commit is contained in:
2024-01-23 19:46:12 +01:00
parent efd241d950
commit 3511b260cc
5 changed files with 152 additions and 16 deletions

View File

@@ -28,5 +28,6 @@ void uiSettingsSlider(const char *txt, f32 *value);
void uiGameResCount(i32 amount, i32 capacity, Rectangle icon, Texture2D texture);
void uiGameBuild(const char *label, Rectangle rec, Texture2D tex, bool canAfford, bool *selected);
bool uiGameUnit(const char *label, i32 count, Rectangle rec, Texture2D tex);
#endif //PIXELDEFENSE_UI_WIDGETS_H