summaryrefslogtreecommitdiff
path: root/src/LineGraph.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/LineGraph.java')
-rw-r--r--src/LineGraph.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/LineGraph.java b/src/LineGraph.java
index b9642fb..b698462 100644
--- a/src/LineGraph.java
+++ b/src/LineGraph.java
@@ -7,7 +7,7 @@ import javax.swing.*;
* References:
*
* Date:
- * 2024-04-28
+ * 2024-05-08
*
* Purpose of class:
* Draw a line graph.
@@ -15,10 +15,18 @@ import javax.swing.*;
public class LineGraph {
int[][] coordinates; // A line graph has-a set of coordinates
+
+ /*
+ * Constructor.
+ */
public LineGraph() {
coordinates = null;
}
+
+ /*
+ * Set a point at a pair of coordinates.
+ */
void setCoordinates(int y, int x) {
}
}