Pārlūkot izejas kodu

run method in RuleSet, fixed javadoc stupid.

master
Josh Hofing pirms 11 gadiem
vecāks
revīzija
551d4d0d14
2 mainītis faili ar 14 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      src/Render.java
  2. +11
    -0
      src/rules/RuleSet.java

+ 3
- 3
src/Render.java Parādīt failu

@@ -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) {



+ 11
- 0
src/rules/RuleSet.java Parādīt failu

@@ -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;
}
}

Notiek ielāde…
Atcelt
Saglabāt