ST_engine  0.3-ALPHA
camera.hpp
1 /* This file is part of the "ST" project.
2  * You may use, distribute or modify this code under the terms
3  * of the GNU General Public License version 2.
4  * See LICENCE.txt in the root directory of the project.
5  *
6  * Author: Maxim Atanasov
7  * E-mail: maxim.atanasov@protonmail.com
8  */
9 
10 #ifndef CAMERA_DEF
11 #define CAMERA_DEF
12 
13 namespace ST {
14 
16  struct camera {
17  int x;
18  int y;
19  int limitX1;
20  int limitX2;
21  int limitY1;
22  int limitY2;
23  };
24 }
25 
26 #endif
The camera object - represents the viewport for the game.
Definition: camera.hpp:16