Files
PlanetFleet/trader.h
T
devZoGok 38d1bba585 Added in-game tooltips
More tooltip parameters
2026-08-08 16:46:12 +03:00

24 lines
374 B
C++

#ifndef TRADER_H
#define TRADER_H
#include <util.h>
namespace battleship{
class Player;
class Trader{
public:
Trader();
void update();
void trade(Player*, int, int, bool);
int getResourceRate(int);
private:
void initProperties();
vb01::s64 lastUpdateTime = 0;
int fluctuationRate, refinedsRate, researchRate, fluctuationAmmount;
};
}
#endif