Browse Source

run method in RuleSet, fixed javadoc stupid.

master
Josh Hofing 12 years ago
parent
commit
551d4d0d14
2 changed files with 14 additions and 3 deletions
  1. +3
    -3
      src/Render.java
  2. +11
    -0
      src/rules/RuleSet.java

+ 3
- 3
src/Render.java View File

@@ -19,9 +19,9 @@ public class Render {
* This should draw to a buffer, which should be * This should draw to a buffer, which should be
* rendered with render() * rendered with render()
* *
* @arg x The x coordinate
* @arg y The y coordinate
* @arg c The color to draw
* @param x The x coordinate
* @param y The y coordinate
* @param c The color to draw
*/ */
public void draw (int x, int y, Color c) { public void draw (int x, int y, Color c) {




+ 11
- 0
src/rules/RuleSet.java View File

@@ -1,4 +1,15 @@
package edu.stuy.goldfish.rules; package edu.stuy.goldfish.rules;


public class RuleSet { public class RuleSet {

/**
* Run this ruleset on a grid, returning the result.
*
* @param g The grid this is running on
*
* @return
*/
public static Grid run (Grid g) {
return g;
}
} }

Loading…
Cancel
Save