Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Rover
Inherits
Reference
<
Object
Constructors
new
(position :
Position
, grid :
Grid
, report_obstacle :
Point
->
Void
, parse_command :
Char
->
Command
= ->
Commands
.parse_command(
Char
), next_position :
Position
,
Command
->
Position
= ->
Rover
.next(
Position
,
Command
))
Class methods
next
(position :
Position
, command :
Command
) :
Position
Instance methods
execute
(commands :
String
) :
Rover
position