updated main file
This commit is contained in:
parent
e0e75f3b98
commit
019c8f7ff0
3 changed files with 11 additions and 11 deletions
|
@ -3,14 +3,15 @@
|
|||
public class AppLaser {
|
||||
|
||||
public static void main(String [] args) {
|
||||
Universe universe = new Universe(20, 10, 2, 3, 12);
|
||||
int start_i = 4;
|
||||
int start_j = 1;
|
||||
int start_dir = 12;
|
||||
|
||||
Universe universe = new Universe(8, 8, start_i, start_j, start_dir);
|
||||
|
||||
Situation previousState, currentState = new Situation(start_i, start_j, start_dir, 0);
|
||||
|
||||
universe.addObstacle(4, 4);
|
||||
universe.addObstacle(5, 4);
|
||||
universe.addObstacle(6, 4);
|
||||
universe.addObstacle(7, 4);
|
||||
universe.addObstacle(8, 4);
|
||||
universe.addObstacle(9, 4);
|
||||
|
||||
universe.print();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue