-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBeginning.h
More file actions
24 lines (20 loc) · 718 Bytes
/
Beginning.h
File metadata and controls
24 lines (20 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "Vector2D.h"
#include "Slide.h"
#include "Text.h"
#include <vector>
class Beginning : public Slide
{
public:
Beginning();
SlideType getNextSlide() override;
void reset() override;
void tick(const Time currentTime) override;
private:
std::vector<Text> texts = {
{ "welcome", sprites.alphabet, Position(400, 100), Text::Alignment::center, Size(40, 40) },
{ "use a w s d", sprites.alphabet, Position(400, 200), Text::Alignment::center, Size(40, 40) },
{ "and", sprites.alphabet, Position(400, 300), Text::Alignment::center, Size(40, 40) },
{ "your mouse", sprites.alphabet, Position(400, 400), Text::Alignment::center, Size(40, 40) }
};
};