/*
game
par Martin Robinson
but, enlever le plus de code possible dans le main
*/

#pragma once
#ifndef _GAME
#define _GAME

#include "bullet.hpp"
#include "camera.hpp"
#include "disk.hpp"
#include "list.hpp"
#include "shell.hpp"
#include "fly.hpp"
#include "shellSTD.hpp"
#include "color.hpp"
#include "tank.hpp"

#include "mode.hpp"
/*
classe
*/

class game : public mode{

    disk _world;
    fly _arwing;
	bool _thirdPerson;
//    color _bg;
//    camera _cam;

    shell _bulletModel;
    list<bullet> _bulletList;
    int _bulletSlower;

    vector<tank> _enemy;
public:
    game();

    void update();
    //user control
    void left();
    void right();
    void up();
    void down();
    void space();
    void shift();


//    const color& getBg();
//    bool thereIsLineToDraw();
//    const camera::draw nextLineToDraw();
};

#endif
