moved shade into a seperate file
This commit is contained in:
17
src/races.h
17
src/races.h
@ -6,20 +6,9 @@
|
||||
|
||||
#ifndef __RACES_H__
|
||||
#define __RACES_H__
|
||||
#include "characters.h"
|
||||
|
||||
// IMPORTANT: assumes all available positions have excluded chlist
|
||||
|
||||
class shade final: public character {
|
||||
public:
|
||||
shade(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,
|
||||
const float hit_rate) override;
|
||||
};
|
||||
|
||||
|
||||
// TODO: implement enemie movement
|
||||
#include "shade.h"
|
||||
#include "goblin.h"
|
||||
#include "vampire.h"
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user