Added clickActionName
This commit is contained in:
parent
25c7bab182
commit
ab6949e5bb
|
|
@ -408,9 +408,15 @@ public class Simulator extends Thread {
|
|||
* @return String representation of click action
|
||||
*/
|
||||
public String clickActionName() {
|
||||
// TODO : initially return "sheep" or "cell"
|
||||
// TODO-COMPLETE : initially return "sheep" or "cell"
|
||||
// depending on clickActionFlag
|
||||
return "";
|
||||
if (clickActionFlag){
|
||||
return "cell";
|
||||
}
|
||||
else {
|
||||
return "sheep";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue