예제 #1
0
 public void starteAmpel() {
   a.setAktZustand(ROT);
   a.start();
 }
예제 #2
0
 public void beendeAmpel() {
   System.out.println("Zustand auf AUS gesetzt");
   a.setAktZustand(Ampel.AUS);
   a.stop();
 }