changed all non-owned unique_ptr access to reference to the object itself
This commit is contained in:
@ -2,12 +2,11 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
character::character(const enum race &nrace):
|
||||
character::character(RNG &rng, const enum race &nrace):
|
||||
rng{rng},
|
||||
race{nrace}, HP{STARTING_HP[race]},
|
||||
ATK{STARTING_ATK[race]}, DEF{STARTING_DEF[race]} {}
|
||||
|
||||
character::~character() {}
|
||||
|
||||
enum race character::get_race() const {
|
||||
return race;
|
||||
}
|
||||
|
Reference in New Issue
Block a user