29 lines
414 B
C++
29 lines
414 B
C++
#ifndef C_C_COIN_H
|
|
#define C_C_COIN_H
|
|
|
|
|
|
#include "Cash.h"
|
|
|
|
/**
|
|
* @namespace banking
|
|
* \ingroup banking
|
|
*/
|
|
namespace banking {
|
|
|
|
/**
|
|
* @author Johannes Theiner<kontakt@joethei.xyz>
|
|
* @version 1.0
|
|
*/
|
|
class Coin : public Cash{
|
|
private:
|
|
public:
|
|
explicit Coin(int value, Currency currency);
|
|
explicit Coin(Coin *coin);
|
|
int getValue() override;
|
|
};
|
|
}
|
|
|
|
|
|
|
|
#endif
|