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 Christopher Eubanks

Classes/RobotMVC/RobotController.h

Committer:
blu12758
Date:
2017-02-07
Revision:
6:8232db1ed208
Parent:
5:be5e1177bb43
Child:
7:0f8c3dfbbb86

File content as of revision 6:8232db1ed208:

//OU Configurable Robot Project
//Spring 2017
//William Bonner

#include "mbed.h"
#include "RobotModel.h"
#include "RobotView.h"

class RobotController
{
    RobotModel _model;
    RobotView _view;
    
    public:
    
    //Constructors/Destructors
    ~RobotController();
    RobotController();
    
    //Accessors/Mutators
    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);
};