a
This commit is contained in:
parent
0d6ede82fe
commit
0be47bd6de
@ -61,7 +61,14 @@ class Ant {
|
||||
|
||||
computeNextState()
|
||||
{
|
||||
// TODO
|
||||
if (this.tiles == 0) {
|
||||
this.rotateRight();
|
||||
this.tiles = 1;
|
||||
}
|
||||
else{
|
||||
this.rotateLeft();
|
||||
this.tiles = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user