moved files out of subdirectories, added required documentation

This commit is contained in:
2024-07-25 13:08:39 -04:00
parent 546909b4aa
commit b04884e44a
96 changed files with 141 additions and 171 deletions

16
src/restore_health.h Normal file
View File

@ -0,0 +1,16 @@
#ifndef __RESTORE_HEALTH_H__
#define __RESTORE_HEALTH_H__
#include "potion.h"
class restore_health final: public potion {
static const int GAIN_HEALTH = 10;
public:
restore_health(const position &pos);
void apply(const enum race &race, int &HP, int &ATK, int &DEF,
fraction &base_hit_rate) override;
int get_priority() const override;
const char *get_name() const override;
};
#endif