Example #1
0
 void init(Plat platboard, String pencls, String erasercls) {
   _platboard = platboard;
   _State.PEN.init(platboard, pencls);
   _State.ERASER.init(platboard, erasercls);
   _state = _State.PEN.getInstance();
 }
Example #2
0
 WBStateI eraserState() {
   return _State.ERASER.getInstance();
 }