]> git.localhorst.tv Git - space.git/blobdiff - src/world/Sector.h
controlled entity
[space.git] / src / world / Sector.h
index fa27b7fa5f1edb9c427a9ddc136bf1f6a96fc8f2..d5c101cc180695076589334417cb7c4e82f929e2 100644 (file)
@@ -1,20 +1,22 @@
 #ifndef SPACE_SECTOR_H_
 #define SPACE_SECTOR_H_
 
+#include "../math/Vector.h"
+
+
 namespace space {
 
 class Sector {
 
 public:
-       Sector(int w, int h, int numres);
+       Sector(Vector<int> size, int numres);
        ~Sector();
 
        Sector(const Sector &) = delete;
        Sector &operator =(const Sector &) = delete;
 
 private:
-       int w;
-       int h;
+       Vector<int> size;
        int numres;
        int total;
        int *res_begin;