From 7c49ec40c872d2ffc6cea48c433f6463b97d93c8 Mon Sep 17 00:00:00 2001 From: Josh Hofing Date: Fri, 11 Jan 2013 15:02:42 -0500 Subject: [PATCH] Some methods that Render is going to need. --- src/Render.java | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/Render.java b/src/Render.java index 31c605d..eaeea53 100644 --- a/src/Render.java +++ b/src/Render.java @@ -1,3 +1,6 @@ + +import java.awt.Color; + public class Render { public Render (int width, int height) { } @@ -6,4 +9,27 @@ public class Render { 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 () { + + } + }