| Package | Description |
|---|---|
| com.vsegouin.mowitnow.mower.core |
Created by v.segouin on 13/09/2016.
|
| com.vsegouin.mowitnow.mower.core.detection |
Created by v.segouin on 13/09/2016.
|
| com.vsegouin.mowitnow.mower.core.movements |
Created by v.segouin on 12/09/2016.
|
| com.vsegouin.mowitnow.mower.enums |
Created by v.segouin on 12/09/2016.
|
| Constructor and Description |
|---|
Mower(int initialAbscissa,
int initialOrdinate,
Direction initialDirection,
MapArea map)
Standard constructor, will the mower at the given coordinates.
|
| Constructor and Description |
|---|
Detector(int abscissa,
int ordinate,
Direction initialDirection,
MapArea map)
Initializes the detector with the current state of the mower.
|
| Modifier and Type | Method and Description |
|---|---|
Direction |
ServoMotor.getCurrentDirection() |
| Constructor and Description |
|---|
ServoMotor(Direction direction) |
| Modifier and Type | Method and Description |
|---|---|
static Direction |
Direction.fetchDirection(int angle)
Find a direction thanks to the angle.
|
static Direction |
Direction.fetchDirection(String abbreviation)
Find a direction thanks to the abbreviation.
|
static Direction |
Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2016. All Rights Reserved.