Reformat
This commit is contained in:
parent
b3c59ffe0d
commit
b050a7634d
8 changed files with 113 additions and 104 deletions
|
|
@ -12,7 +12,10 @@
|
|||
|
||||
// helper type for the visitor
|
||||
template<typename... Ts>
|
||||
struct overloaded : Ts ... { using Ts::operator()...; };
|
||||
struct overloaded : Ts... {
|
||||
using Ts::operator()...;
|
||||
};
|
||||
|
||||
template<typename... Ts>
|
||||
overloaded(Ts...) -> overloaded<Ts...>;
|
||||
|
||||
|
|
@ -24,24 +27,24 @@ namespace character {
|
|||
using namespace std::string_literals;
|
||||
|
||||
enum class weapons : std::uint8_t {
|
||||
Sword = 0,
|
||||
Lance = 1,
|
||||
Sword = 0,
|
||||
Lance = 1,
|
||||
Morgenstern = 2,
|
||||
Bow = 3
|
||||
Bow = 3
|
||||
};
|
||||
|
||||
enum class equipments : std::uint8_t {
|
||||
Chainmail = 4,
|
||||
CookingPot = 5,
|
||||
Chainmail = 4,
|
||||
CookingPot = 5,
|
||||
PamphletTourist = 6,
|
||||
MedicKit = 7
|
||||
MedicKit = 7
|
||||
};
|
||||
|
||||
enum class tools : std::uint8_t {
|
||||
Fourche = 8,
|
||||
Dagger = 9,
|
||||
Fourche = 8,
|
||||
Dagger = 9,
|
||||
RockClimbingKit = 10,
|
||||
SackOfGrain = 11
|
||||
SackOfGrain = 11
|
||||
};
|
||||
|
||||
class Weapons;
|
||||
|
|
@ -139,7 +142,6 @@ namespace character {
|
|||
|
||||
[[nodiscard]] billyEnums get_type() const noexcept final { return type; }
|
||||
};
|
||||
|
||||
} // character
|
||||
|
||||
#endif //BILLYSHEET_GENERIC_OBJECT_HPP
|
||||
#endif //BILLYSHEET_GENERIC_OBJECT_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue