changed all non-owned unique_ptr access to reference to the object itself

This commit is contained in:
2024-07-11 22:15:15 -04:00
parent 6d3e8229df
commit c68330b3e3
17 changed files with 73 additions and 57 deletions

View File

@ -5,7 +5,8 @@
class shade final: public character {
public:
shade(const position_list &available_positions); // spawn at a random place
shade(RNG &rng, const position_list
&available_positions); // spawn at a random place
virtual result attack(const direction dir,
character_list &chlist) override;
virtual result get_hit(const enum race &race, const int atk,