aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameScreen.h
blob: f911edd59a9b66756b91c08fa878b2c110ba32ec (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
#include "gameCommon.h"
#include "animation.h"
#include "ui.h"

#ifndef GAME_SCREEN_H
#define GAME_SCREEN_H

typedef struct GameScreen {
    TexturedButton toGameButton;
    TexturedButton toEmperorsEmporiumButton;

    // The little button panel at the bottem.
    Animation updateButtonAnimation;
    TexturedButton updateButton;

    Animation achievementsButtonAnimation;
    TexturedButton achievementsButton;

    Animation rebirthButtonAnimation;
    TexturedButton rebirthButton;

    Animation statisticsButtonAnimation;
    TexturedButton statisticsButton;
} GameScreen;

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

#endif