26 lines
1.2 KiB
C++
26 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* ICharacter.hpp :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/04/14 22:14:07 by whaffman #+# #+# */
|
|
/* Updated: 2025/04/14 22:14:28 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
#include <string>
|
|
#include "AMateria.hpp"
|
|
|
|
class ICharacter
|
|
{
|
|
public:
|
|
virtual ~ICharacter() {}
|
|
virtual std::string const &getName() const = 0;
|
|
virtual void equip(AMateria *m) = 0;
|
|
virtual void unequip(int idx) = 0;
|
|
virtual void use(int idx, ICharacter &target) = 0;
|
|
};
|