1
0
This repository has been archived on 2025-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
CPP_Module_04/ex03/Character.hpp

32 lines
1.2 KiB
C++
Raw Normal View History

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Character.hpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/12/10 14:59:12 by adjoly #+# #+# */
/* Updated: 2024/12/10 15:15:46 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include "AMateria.hpp"
#define ENV_SIZE 4
class Character {
private:
AMateria _materias[ENV_SIZE];
public:
Character(void);
~Character(void);
Character(const Character &);
Character &operator=(const Character &);
void equip(Character *);
void unequip(int idx);
void use(int idx, Character &);
};