started line_system to play properly

pull/1/head
u-siri-ous 2019-12-20 10:33:11 +01:00
parent c0495a64af
commit 4a1ba46f5b
3 changed files with 13 additions and 2 deletions

View File

@ -16,7 +16,7 @@
#define LINE_THRESH 90
#define EXTIME 100
class DSCtrlLines : public DataSourceCtrl {
class DSCtrlLines : public DataSourceCtrl{
public:
DSCtrlLines();

11
include/line_system.h Normal file
View File

@ -0,0 +1,11 @@
#pragma once
#include "ds_ctrl_lines.h"
#include "games.h"
#include "game.h"
class LineSystem : public DSCtrlLines{
public:
LineSystem(DSCtrlLines* method, Game* strategy);
virtual void update() = 0;
virtual void test() = 0;
};

View File

@ -25,7 +25,7 @@ s_extr vector<DataSource*> lIn;
s_extr vector<DataSource*> lOut;
s_extr vector<DataSource*> dUs;
s_extr DSCtrlLines* usCtrl;
s_extr DataSourceCtrl* usCtrl;
s_extr DSCtrlLines* linesCtrl;
s_extr DataSourceBNO055* compass;