2 Commits 34aa51e486 ... f493b7bfbc

Author SHA1 Message Date
  GeorgeKolog f493b7bfbc 1 6 years ago
  GeorgeKolog 53468d52be Last Cell commit 6 years ago
3 changed files with 2 additions and 3 deletions
  1. 1 1
      include/units/unit.h
  2. 0 2
      source/Cell.cpp
  3. 1 0
      source/units/unit.cpp

+ 1 - 1
include/units/unit.h

@@ -1,6 +1,6 @@
 #pragma once
 #pragma once
 
 
-#include "../include/abstractfactory.h"
+#include "abstractfactory.h"
 #include <QObject>
 #include <QObject>
 #include <QString>
 #include <QString>
 #include <QImage>
 #include <QImage>

+ 0 - 2
source/Cell.cpp

@@ -333,5 +333,3 @@ Cell* Cell::getRealShootTarget(Cell* next){
 		return getright();
 		return getright();
 	}
 	}
 }
 }
-
-int main(){}

+ 1 - 0
source/units/unit.cpp

@@ -1,5 +1,6 @@
 #include "abstractfactory.h"
 #include "abstractfactory.h"
 #include "units/unit.h"
 #include "units/unit.h"
+#include "../include/Cell.h"
 
 
 #include <iostream>
 #include <iostream>
 #include <algorithm>
 #include <algorithm>