#ifndef _wall_ #define _wall_ #include "game_object.hpp" #include "body.hpp" #include class wall:public game_object, public body{ public: wall(); wall(int x,int y,int w,int h,int life); ~ wall(); //int** health; int health[MAX_WIDTH][MAX_HEIGHT]; void set_life(int life); void create(int x,int y,int w,int h,int life); //re-initializes parameters of a pre-existent wall void printlife(); //prints health matrix }; #endif