소스 검색

run method in RuleSet, fixed javadoc stupid.

master
Josh Hofing 11 년 전
부모
커밋
551d4d0d14
2개의 변경된 파일14개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      src/Render.java
  2. +11
    -0
      src/rules/RuleSet.java

+ 3
- 3
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) {



+ 11
- 0
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;
}
}

불러오는 중...
취소
저장