From 551d4d0d143b7aca664ae9bf22228e214b94142c Mon Sep 17 00:00:00 2001 From: Josh Hofing Date: Fri, 11 Jan 2013 15:20:30 -0500 Subject: [PATCH] run method in RuleSet, fixed javadoc stupid. --- src/Render.java | 6 +++--- src/rules/RuleSet.java | 11 +++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/Render.java b/src/Render.java index de3fe2e..9388130 100644 --- a/src/Render.java +++ b/src/Render.java @@ -19,9 +19,9 @@ public class Render { * This should draw to a buffer, which should be * 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) { diff --git a/src/rules/RuleSet.java b/src/rules/RuleSet.java index 309fe15..cc58567 100644 --- a/src/rules/RuleSet.java +++ b/src/rules/RuleSet.java @@ -1,4 +1,15 @@ package edu.stuy.goldfish.rules; 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; + } }