Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef WEAPON_H
#define WEAPON_H
class weapon
{
public:
weapon(std::string a, float b, float c);
void setWeaponName(std::string x);
void setDamageMultiplier1(float y);
void setDamageMultiplier2(float z);
void sharpenWeapon1();
void sharpenWeapon2();
std::string getWeaponName()
{
return weaponName;
}
float getDamageMultiplier1()
{
return damageMultiplier1;
}
float getDamageMultiplier2()
{
return damageMultiplier2;
}
private:
std::string weaponName;
float damageMultiplier1;
float damageMultiplier2;
};
#endif // WEAPON_H