You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ILife.java 367B

2 years ago
1234567891011121314
  1. public interface ILife {
  2. // Methoden zum Setzen der Ausgangssituation
  3. public void nukeAll();
  4. public void setAlive(int x, int y);
  5. public void setDead(int x, int y);
  6. // Methoden zum Abfragen der aktuellen Situation
  7. public boolean isAlive(int x, int y);
  8. // Methoden zum Fortschreiben der Generationen
  9. public ILife nextGeneration();
  10. }