added: input and its subclasses
This commit is contained in:
17
src/curses_input.h
Normal file
17
src/curses_input.h
Normal file
@ -0,0 +1,17 @@
|
||||
#ifndef __CURSES_INPUT_H__
|
||||
#define __CURSES_INPUT_H__
|
||||
|
||||
#include <memory>
|
||||
#include "input.h"
|
||||
#include "constants.h"
|
||||
#include "cursor.h"
|
||||
|
||||
class curses_input final: public input {
|
||||
private:
|
||||
const std::unique_ptr<cursor> &curse;
|
||||
public:
|
||||
curses_input(const std::unique_ptr<cursor> &new_curse);
|
||||
game_command get_command() override;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user