smithers.extras
Class Cellular2D.Ruleset
java.lang.Object
smithers.extras.Cellular2D.Ruleset
- Enclosing class:
- Cellular2D
public static class Cellular2D.Ruleset
- extends java.lang.Object
Method Summary |
boolean |
born(int neighbours)
|
boolean |
survives(int neighbours)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Cellular2D.Ruleset
public Cellular2D.Ruleset(int bornFlags,
int survivesFlags)
Cellular2D.Ruleset
public Cellular2D.Ruleset(int[] born,
int[] survives)
Cellular2D.Ruleset
public Cellular2D.Ruleset(java.lang.Iterable<java.lang.Integer> born,
java.lang.Iterable<java.lang.Integer> survives)
born
public boolean born(int neighbours)
survives
public boolean survives(int neighbours)