15 lines
240 B
C++
15 lines
240 B
C++
#ifndef __INPUT_H__
|
|
#define __INPUT_H__
|
|
#include <string>
|
|
#include "constants.h"
|
|
|
|
class input {
|
|
public:
|
|
virtual ~input() = 0;
|
|
virtual game_command get_command() = 0;
|
|
};
|
|
|
|
game_command get_direction(std::string &str);
|
|
|
|
#endif
|