forked from buffolu/project_3_cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Controller.h
34 lines (27 loc) · 811 Bytes
/
Controller.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
34
//
// Created by igor on 25/06/2023.
//
#ifndef PROJECT_3_CONTROLLER_H
#define PROJECT_3_CONTROLLER_H
#include "Geometry.h"
#include "Model.h"
#include "utils.h"
#include <algorithm>
#include <fstream>
#include <iostream>
#include <vector>
class Controller {
bool exitflag = false;
bool zoom(const std::vector<std::string> &words);
bool size(const std::vector<std::string> &words);
bool pan(const std::vector<std::string> &words);
bool create(const std::vector<std::string> &words);
bool course(const std::vector<std::string> &words);
bool position(const std::vector<std::string> &words);
bool start_working(const std::vector<std::string> &words);
public:
Controller();
bool GetUserInput();
void run(int argc, char **argv);
};
#endif // PROJECT_3_CONTROLLER_H