-
Notifications
You must be signed in to change notification settings - Fork 0
/
End.h
33 lines (24 loc) · 1.49 KB
/
End.h
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
33
#pragma once
#include "Slide.h"
#include "Text.h"
class End : public Slide
{
public:
End();
SlideType getNextSlide() override;
void reset() override;
void tick(const Time currentTime) override;
private:
Text header = { "the end", sprites.alphabet, Position(400, 50), Text::Alignment::center, Size(40, 40) };
Text time = { "time", sprites.alphabet, Position(80, 150), Text::Alignment::left, Size(30, 30) };
Text timeBonus = { "time bonus", sprites.alphabet, Position(80, 200), Text::Alignment::left, Size(30, 30) };
Text score = { "score", sprites.alphabet, Position(80, 250), Text::Alignment::left, Size(30, 30) };
Text totalScore = { "total score", sprites.alphabet, Position(80, 300), Text::Alignment::left, Size(30, 30) };
Text timeValue = { "", sprites.alphabet, Position(720, 150), Text::Alignment::right, Size(30, 30) };
Text timeBonusValue = { "0 pt", sprites.alphabet, Position(720, 200), Text::Alignment::right, Size(30, 30) };
Text scoreValue = { "", sprites.alphabet, Position(720, 250), Text::Alignment::right, Size(30, 30) };
Text totalScoreValue = { "", sprites.alphabet, Position(720, 300), Text::Alignment::right, Size(30, 30) };
Text firstPlace = { "", sprites.alphabet, Position(80, 400), Text::Alignment::left, Size(30, 30) };
Text secondPlace = { "", sprites.alphabet, Position(80, 450), Text::Alignment::left, Size(30, 30) };
Text newHightScore = { "", sprites.alphabet, Position(80, 520), Text::Alignment::left, Size(30, 30) };
};