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.

30 lines
715 B

#ifndef GAME_H_
#define GAME_H_
#include "raylib.h"
#include "definitions.h"
typedef struct Game{
Texture2D worker[8];
struct TextureAtlas *textures;
struct Sprite *cursorSprite;
struct SpriteList *sprites;
struct InputHandler *inputHandler;
struct Camera2D *camera;
struct IsometricMap *map;
struct BuildingList *buildings;
struct StaticObjectList *objects;
struct EntityList *entities;
struct UiContainer *UiContainers[SCREEN_AMOUNT];
int screen;
int mouseOnUI ; // 0:not on UI 1:on UI
int mouseFrameLock ; // Sollten wir nicht brauchen wenn wir unsere Inputs gut definieren
} Game;
// returns pointer to new Game instance
Game * GameInit();
#endif