R: mikado (heading enum)
This commit is contained in:
parent
ab064c71f7
commit
61e293ee18
4 changed files with 42 additions and 20 deletions
15
TECHDEBT.md
15
TECHDEBT.md
|
|
@ -1,7 +1,20 @@
|
|||
# TODO
|
||||
- [ ] Complexity
|
||||
- [ ] long method
|
||||
- [x] long method
|
||||
- [ ] duplicated code
|
||||
-
|
||||
# Mikado
|
||||
- [ ] Clean up constants and private fields
|
||||
- [ ] Move move() into Heading.move(Position)
|
||||
- [ ] Move turnLeft() into Heading.turnLeft()
|
||||
- [ ] Move turnRight() into Heading.turnRight()
|
||||
- [x] Remove HEADING_* constants
|
||||
- [x] in move() compare to heading enum
|
||||
- [x] in turnRight() compare to heading enum
|
||||
- [x] in turnLeft() compare to heading enum
|
||||
- [x] state.heading in Rover.constructor to enum
|
||||
- [x] Change heading Char in RoverState to Heading enum
|
||||
- [x] Create Heading enum
|
||||
|
||||
# RPP
|
||||
- [ ] Reorder Responsibilities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue