fixed issue with potion output, added extras menu for player race selection
This commit is contained in:
17
src/item.h
Normal file
17
src/item.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef __ITEM_H__
|
||||
#define __ITEM_H__
|
||||
|
||||
#include "position.h"
|
||||
#include "output.h"
|
||||
|
||||
class item {
|
||||
protected:
|
||||
position pos;
|
||||
public:
|
||||
item(const position &pos);
|
||||
position get_pos() const;
|
||||
void set_pos(const position &npos);
|
||||
virtual void print(output *out) const = 0;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user