started line_system to play properly
parent
c0495a64af
commit
4a1ba46f5b
|
@ -16,7 +16,7 @@
|
||||||
#define LINE_THRESH 90
|
#define LINE_THRESH 90
|
||||||
#define EXTIME 100
|
#define EXTIME 100
|
||||||
|
|
||||||
class DSCtrlLines : public DataSourceCtrl {
|
class DSCtrlLines : public DataSourceCtrl{
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DSCtrlLines();
|
DSCtrlLines();
|
||||||
|
|
|
@ -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;
|
||||||
|
};
|
|
@ -25,7 +25,7 @@ s_extr vector<DataSource*> lIn;
|
||||||
s_extr vector<DataSource*> lOut;
|
s_extr vector<DataSource*> lOut;
|
||||||
s_extr vector<DataSource*> dUs;
|
s_extr vector<DataSource*> dUs;
|
||||||
|
|
||||||
s_extr DSCtrlLines* usCtrl;
|
s_extr DataSourceCtrl* usCtrl;
|
||||||
s_extr DSCtrlLines* linesCtrl;
|
s_extr DSCtrlLines* linesCtrl;
|
||||||
|
|
||||||
s_extr DataSourceBNO055* compass;
|
s_extr DataSourceBNO055* compass;
|
||||||
|
|
Loading…
Reference in New Issue