| | |
| | | return list; |
| | | } |
| | | |
| | | public static List<DirectionDto> initCodeDirections0() { |
| | | List<DirectionDto> list = new ArrayList<>(); |
| | | DirectionDto northDto = new DirectionDto(); |
| | | northDto.setAngle(CodeDirectionType.NORTH.angle); |
| | | northDto.setEnabled(true); |
| | | list.add(northDto); |
| | | |
| | | DirectionDto eastDto = new DirectionDto(); |
| | | eastDto.setAngle(CodeDirectionType.EAST.angle); |
| | | eastDto.setEnabled(false); |
| | | list.add(eastDto); |
| | | |
| | | DirectionDto southDto = new DirectionDto(); |
| | | southDto.setAngle(CodeDirectionType.SOUTH.angle); |
| | | southDto.setEnabled(true); |
| | | list.add(southDto); |
| | | |
| | | DirectionDto westDto = new DirectionDto(); |
| | | westDto.setAngle(CodeDirectionType.WEST.angle); |
| | | westDto.setEnabled(true); |
| | | list.add(westDto); |
| | | |
| | | return list; |
| | | } |
| | | |
| | | } |