|
1234567891011121314151617181920212223242526 |
- package edu.stuy.goldfish.rules;
-
- import edu.stuy.goldfish.Grid;
-
- public class RuleSet {
- public static int states = 0;
-
- /**
- * Run this ruleset on a grid, returning the result.
- *
- * @param g The grid this is running on
- *
- * @return The new grid
- */
- public static Grid run(Grid g) {
- return g;
- }
-
- /**
- * Setup the grid with an interesting initial pattern.
- *
- * @param g The grid this is running on
- */
- public static void setup(Grid g) {
- }
- }
|