aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/cpp/MeleeWeapon.cpp
blob: 92c763246f0c52f682112fab45691a3e28d7c24a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "MeleeWeapon.hpp"
#include "Actor.hpp"

#include <string>

MeleeWeapon::MeleeWeapon(Type t, const std::string &name)
: Weapon(name), type(t)
{
}

bool MeleeWeapon::use(Actor &user, Actor &actor)
{
    //TODO implement attack probability
    //actor.damage(_damage);
}