Ver a proveniência

run method in RuleSet, fixed javadoc stupid.

master
Josh Hofing há 11 anos
ascendente
cometimento
551d4d0d14
2 ficheiros alterados com 14 adições e 3 eliminações
  1. +3
    -3
      src/Render.java
  2. +11
    -0
      src/rules/RuleSet.java

+ 3
- 3
src/Render.java Ver ficheiro

@@ -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 Ver ficheiro

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

Carregando…
Cancelar
Guardar