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.

26 lines
540 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 MapObjectList *mapObjects;
struct EntityList *entities;
struct UiContainer *UiContainers[SCREEN_AMOUNT];
int screen;
} Game;
// returns pointer to new Game instance
Game * GameInit();
#endif