work in progress, can be branched/merged

This commit is contained in:
2024-07-13 16:13:20 -04:00
parent ccf6dd0582
commit 5f3565fa86
8 changed files with 289 additions and 0 deletions

17
src/dragon.h Normal file
View File

@ -0,0 +1,17 @@
#ifndef __DRAGON_H__
#define __DRAGON_H__
#include "characters.h"
class dragon final: public character {
public:
dragon(RNG *rng, const position &pos);
virtual result attack(const direction dir,
character_list &chlist) override;
virtual result get_hit(const enum race &race, const int atk,
const fraction hit_rate) override;
virtual result move(const direction dir,
const position_list &avilable_positions) override;
};
#endif