Skip to content

Commit

Permalink
fixed some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphuhta committed Jul 4, 2021
1 parent 8c11fed commit f94e1b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Simulator.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ private boolean isDestination(String str) {

/**
*
* @String input parameter turn user turn which can be F(Forward) & B(Back)
* @Car input parameter car The current car object with direction and X,Y cordinates.
* @String input parameter turn, user turn which can be F(Forward) & B(Back)
* @Car input parameter car, the current car object with direction and X,Y cordinates.
*
* The function returns Car object with new X,Y cordinates based on which turn
* the user have chosen.
Expand Down Expand Up @@ -197,8 +197,8 @@ private Car move(String turn, Car car) {

/**
*
* @String input parameter turn which can be F(Forward) & B(Back)
* @String input parameter car The current car object with direction and X,Y cordinates.
* @String input parameter turn, which can be F(Forward) & B(Back)
* @Car input parameter car, the current car object with direction and X,Y cordinates.
*
* The function returns Car object with new direction based on the turn the user
* has chosen.
Expand Down

0 comments on commit f94e1b9

Please sign in to comment.