very, very simple WP with midi CC out
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "SFML/Graphics/RenderWindow.hpp"
|
||||
#include "datatypes.h"
|
||||
|
||||
class Movable{
|
||||
|
||||
public:
|
||||
Movable(){}
|
||||
Movable(Vec2D<float> p, Vec2D<float> d, float s) : speed(s), position(p), direction(d) {}
|
||||
Movable(Vec2D<float> p, float s) : speed(s), position(p) {}
|
||||
|
||||
float speed = 1.0f;
|
||||
|
||||
Vec2D<float> position;
|
||||
Vec2D<float> direction;
|
||||
|
||||
virtual void update() {};
|
||||
virtual void draw(sf::RenderWindow *window) {};
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user