1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef BULLET_HPP #define BULLET_HPP #include "Item.hpp" #include "RangedWeapon.hpp" class Bullet : protected Item { public: virtual bool use(RangedWeapon &weapon); virtual bool decreaseAmount(unsigned qnt); }; #endif