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.

28 lines
578 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 Screen *screens[SCREEN_AMOUNT];
int currentScreen;
int mouseOnUI ; // 0:not on UI 1:on UI
} Game;
Game * GameInit();
#endif