|
@@ -1,3 +1,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
import java.awt.Color; |
|
|
|
|
|
|
|
|
public class Render { |
|
|
public class Render { |
|
|
public Render (int width, int height) { |
|
|
public Render (int width, int height) { |
|
|
} |
|
|
} |
|
@@ -6,4 +9,27 @@ public class Render { |
|
|
this(100,100); |
|
|
this(100,100); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Render a color to a position |
|
|
|
|
|
* |
|
|
|
|
|
* 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 |
|
|
|
|
|
*/ |
|
|
|
|
|
public void draw (int x, int y, Color c) { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* Renders the stored buffer to the screen. |
|
|
|
|
|
*/ |
|
|
|
|
|
public void render () { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |