X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Ffleet.h;h=dfc5fdd6657479343f5219474e7dae2b3dcb54d4;hp=3bdab65924c5f9db08ffd1f2decf47fbeac5da3a;hb=eba582b38f8b12085c166177a9d80a9f8429d1ec;hpb=a2ce63f561d091d9c3af49987d74849f9450c16b diff --git a/bs/fleet.h b/bs/fleet.h index 3bdab65..dfc5fdd 100644 --- a/bs/fleet.h +++ b/bs/fleet.h @@ -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: