aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.hpp
blob: 168a83afd1f51f937936d33ab1fb083c12492b66 (plain)
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
35
36
37
38
39
40
41
42
43
/*********************************/
/*   THRESHOLD        (  //      */
/*   gameplayh         ( )/      */
/*   by salade         )(/       */
/*  ________________  ( /)       */
/* ()__)____________)))))   :^}  */
/*********************************/

#ifndef GAMEPLAY_H_
#define GAMEPLAY_H_

#include "window.hpp"
#include "entity.hpp"

#include <vector>
#include <iostream>


#define COOLPURPLE CLITERAL(Color){ 170, 153, 255, 255 }    // cool Purple
//rgb(170,153,255)
class Game {
    int nEnemies; // number of enemies on given level

    std::vector<Entity> * enemies;

    Entity * player;

    std::string next; // next level

    public:
        Game(std::string const & path);
        ~Game();

        void start() const ;
        void draw() const ;
        int tick() const ;
        int getKeys() const ;
        int shoot() const ;

        std::string const & getNext() const ; // returns next level's string
};

#endif // GAMEPLAY_H_