From 7de5c49c0da40932d30eff97601911b04895dfee Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 27 Sep 2023 18:31:32 +0200 Subject: Remove legacy PNG output mode --- src/main/java/org/openslx/graph/Node.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/main/java/org/openslx/graph/Node.java') diff --git a/src/main/java/org/openslx/graph/Node.java b/src/main/java/org/openslx/graph/Node.java index d5e1dc2..e9f4280 100644 --- a/src/main/java/org/openslx/graph/Node.java +++ b/src/main/java/org/openslx/graph/Node.java @@ -1,7 +1,5 @@ package org.openslx.graph; -import java.awt.Color; - import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; @@ -19,7 +17,6 @@ public class Node implements java.io.Serializable private double _fx; private double _fy; private int _health; - private Color _color; protected Node( String displayName ) { @@ -40,7 +37,6 @@ public class Node implements java.io.Serializable _fx = 0; _fy = 0; _health = getMaxHealth(); - setColor( Color.BLUE ); } public void swapPos( Node other ) @@ -137,16 +133,6 @@ public class Node implements java.io.Serializable _health--; } - public final Color getColor() - { - return _color; - } - - protected final void setColor( Color color ) - { - _color = color; - } - public final int getRadius() { return 5; -- cgit v1.2.3-55-g7522