mirror of
https://github.com/ApfelTeeSaft/PlanetFleet.git
synced 2026-08-26 19:33:38 +00:00
23 lines
345 B
C++
23 lines
345 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);
|
|
private:
|
|
void initProperties();
|
|
|
|
vb01::s64 lastUpdateTime = 0;
|
|
int fluctuationRate, refinedsRate, researchRate, fluctuationAmmount;
|
|
};
|
|
}
|
|
|
|
#endif
|