aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameScreen.h
blob: 003f66b0b1f41e6d1ce34211d7fb79782baf64a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include "gameCommon.h"
#include "animation.h"
#include "ui.h"
#include "clicky.h"

#ifndef GAME_SCREEN_H
#define GAME_SCREEN_H

typedef enum GamePlayPlace {
    CLICKY_DESKTOP_PLACE,
    SHOP_PLACE
} GamePlayPlace;

typedef struct GameScreen {
    GamePlayPlace place;

    TexturedButton toGameButton;
    TexturedButton toEmperorsEmporiumButton;

    // The little button panel at the bottom.
    Animation buttonPanelSharedAnimation;
    TexturedButton upgradesButton;
    TexturedButton achievementsButton;
    TexturedButton rebirthButton;
    TexturedButton statisticsButton;
} GameScreen;

void initGameScreen(GameScreen* gameScreen, Game* game);
void updateGameScreen(GameScreen* gameScreen, Game* game);
void closeGameScreen(GameScreen* gameScreen);

#endif