public class RemoteControlController extends Object
Constructor and Description |
---|
RemoteControlController(MainControllerGUI controller)
Basic constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
goBackwardClicked()
Make the selected mower to go backward.
|
void |
goForwardClicked()
Make the selected mower to go forward.
|
void |
goLeftClicked()
Make the selected mower to turn left.
|
void |
goRightClicked()
Make the selected mower to turn right.
|
@Inject public RemoteControlController(MainControllerGUI controller)
controller
- the main GUI controller which orchestrate the GUI's componentpublic void goLeftClicked()
public void goForwardClicked()
public void goRightClicked()
public void goBackwardClicked()
Copyright © 2016. All Rights Reserved.