blob: 98b5c6f3e415a01cb9b3322042c30bebd925df9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <raylib.h>
#include "Controller.h"
class KeyboardController : public Controller
{
public:
KeyboardController();
Vector2 direction() override;
private:
int x_axis;
int y_axis;
};
|