mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
cargo ships only source resources until they're full or the deposits are empty
This commit is contained in:
+3
-1
@@ -7,6 +7,7 @@
|
||||
|
||||
namespace battleship{
|
||||
class Structure;
|
||||
class Extractor;
|
||||
|
||||
class ResourceRover : public Vehicle{
|
||||
public:
|
||||
@@ -21,7 +22,8 @@ namespace battleship{
|
||||
|
||||
vb01::s64 lastLoadTime = 0;
|
||||
int load = 0, capacity, loadRate;
|
||||
Unit *nearestExtractor = nullptr, *nearestRefinery = nullptr;
|
||||
Extractor *nearestExtractor = nullptr;
|
||||
Unit *nearestRefinery = nullptr;
|
||||
vb01::Node *loadBackground = nullptr, *loadForeground = nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user