@@ -1 +1,9 @@
+/* This file is part of Invaders.
+ *
+ * Copyright (C) 2020 LCM.
+ * You may use, distribute and modify Invaders under the terms of the
+ * GPLv3 license, available at <https://www.gnu.org/licenses/\>.
+ */
+
#include "body.hpp"
@@ -1,3 +1,11 @@
#ifndef _body_hpp
#define _body_hpp
#include "boss.hpp"
boss::boss(int x, int y, int life, int w, int h, std::string newname) : enemy(x,y), pic(w,h)
#ifndef _boss_hpp
#define _boss_hpp
#include "definitions.hpp"
#include "rocket.hpp"
#include "enemy.hpp"
#include "bullet.hpp"
void bullet::next_pos()
#ifndef _bullet_
#define _bullet_
#ifndef _definitions_
#define _definitions_
#ifndef _enemy_
#define _enemy_
#include "functions.hpp"
using std::cout;
#ifndef _functions_
#define _functions_
#include "game_object.hpp"
game_object::game_object(int X,int Y,int ID){
#ifndef _gameobject_
#define _gameobject_
#include "player.hpp"
#include "pic.hpp"
//char** picture;
#ifndef _pic_hpp
#define _pic_hpp
#ifndef _player_
#define _player_
#include "powerup.hpp"
powerup::powerup(int x,int y):bullet(x,y,64){}
#ifndef _powerup_
#define _powerup_
rocket::rocket(int X,int Y,int V) : bullet(X,Y,256){
#ifndef _rocket_
#define _rocket_
#include "wall.hpp"
wall::wall():game_object(0,0,32) , body(0,0){} //default constructor
#ifndef _wall_
#define _wall_