GREEN: implement rover initialization
This commit is contained in:
parent
0afac966fc
commit
51073d9301
1 changed files with 7 additions and 0 deletions
7
lib/mars_rover.dart
Normal file
7
lib/mars_rover.dart
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
class Rover {
|
||||||
|
int x;
|
||||||
|
int y;
|
||||||
|
String direction;
|
||||||
|
|
||||||
|
Rover({required this.x, required this.y, required this.direction});
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue