]> ruin.nu Git - hbs.git/blobdiff - bs/fleet.h
some algorithms..
[hbs.git] / bs / fleet.h
index 3bdab65924c5f9db08ffd1f2decf47fbeac5da3a..dfc5fdd6657479343f5219474e7dae2b3dcb54d4 100644 (file)
@@ -88,7 +88,7 @@ public:
         */
        unsigned score(int tick = 0) const;
 
-       void setFleet(std::string unittype, int number);
+       void setFleet(std::string unittype, int number, int tick = 0);
        int      fleet(std::string unittype, int tick = 0);
 
        int freeFleet(std:: string unittype, int tick = 0);
@@ -110,7 +110,7 @@ public:
        void killFleet(std::string unittype, int number, int tick = 0);
 
        void setResource(std::string type, int number, int tick = 0);
-       int resource(std::string type, int tick = 0);
+       int resource(std::string type, int tick = 0)const;
        
 protected: