/* ************************************************************************** */ /* */ /* :::::::: */ /* Character.hpp :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/04/14 22:23:59 by whaffman #+# #+# */ /* Updated: 2025/04/14 22:29:01 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #pragma once #include "ICharacter.hpp" #include #include #include "colors.h" class Character : public ICharacter { private: std::string name; AMateria *inventory[4]; public: Character(); Character(std::string const &name); Character(Character const &other); ~Character() override; Character &operator=(Character const &other); std::string const &getName() const override; void equip(AMateria *m) override; void unequip(int idx) override; void use(int idx, ICharacter &target) override; void printInventory() const; };