Dr. Davis and Dr. Dyer special studies robotics project
Dependencies: BSP_DISCO_F469NI LCD_DISCO_F469NI TS_DISCO_F469NI mbed Motordriver
Fork of Configurable_Robots by
Diff: Classes/RobotMVC/RobotController.h
- Revision:
- 7:0f8c3dfbbb86
- Parent:
- 6:8232db1ed208
- Child:
- 8:1173b502b316
--- a/Classes/RobotMVC/RobotController.h Tue Feb 07 20:44:52 2017 +0000 +++ b/Classes/RobotMVC/RobotController.h Tue Feb 07 22:45:45 2017 +0000 @@ -8,20 +8,24 @@ class RobotController { - RobotModel _model; - RobotView _view; public: + RobotModel* model; + RobotView* view; + //Constructors/Destructors ~RobotController(); RobotController(); //Accessors/Mutators - void setModel(RobotModel m){_model = m;} - void setView(RobotView v){_view = v;} + void setModel(RobotModel* m){model = m;} + void setView(RobotView* v){view = v;} //Handles choices made by the user on the robot interface //input: selection value void UserSelection(int s); + + //Listens for inputs + void listen(); }; \ No newline at end of file