Last TODO
This commit is contained in:
parent
372411a056
commit
063937a5e0
|
|
@ -46,9 +46,8 @@ public class Simulator extends Thread {
|
|||
|
||||
|
||||
//Default rule : Survive always, birth never
|
||||
for(int i =0; i<9; i++) {
|
||||
fieldSurviveValues.add(i);
|
||||
}
|
||||
//for(int i =0; i<9; i++) {
|
||||
// fieldSurviveValues.add(i); }
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -399,9 +398,7 @@ public class Simulator extends Thread {
|
|||
* @return String representation of click action
|
||||
*/
|
||||
public String clickActionName() {
|
||||
// TODO : initially return "sheep" or "cell"
|
||||
// depending on clickActionFlag
|
||||
return "";
|
||||
return clickActionFlag ? "sheep" : "cell";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue