finished the bulk of game
This commit is contained in:
15
src/enemies/orc.cc
Normal file
15
src/enemies/orc.cc
Normal file
@ -0,0 +1,15 @@
|
||||
#include "orc.h"
|
||||
|
||||
#include "../constants.h"
|
||||
|
||||
orc::orc(RNG *rng, const feature enabled_features, const position &pos,
|
||||
const int gen_room_num):
|
||||
enemy_base{rng, enabled_features, rorc, pos, gen_room_num, "O"} {}
|
||||
|
||||
void orc::print(display *out) {
|
||||
out->print_char(pos, 'O', COLOR_PAIR(COLOR_RED));
|
||||
}
|
||||
|
||||
const char *orc::get_race_name() const {
|
||||
return "Orc";
|
||||
}
|
Reference in New Issue
Block a user