diff options
author | Simon Rettberg | 2023-09-27 18:31:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-09-27 18:31:32 +0200 |
commit | 7de5c49c0da40932d30eff97601911b04895dfee (patch) | |
tree | a356138580b5f00494c5a0699891b1b71cda7cec /src/main/java/org/openslx/graph/Node.java | |
parent | Work around race condition instead of proper rearchitecturing (diff) | |
download | dnbd3-status-7de5c49c0da40932d30eff97601911b04895dfee.tar.gz dnbd3-status-7de5c49c0da40932d30eff97601911b04895dfee.tar.xz dnbd3-status-7de5c49c0da40932d30eff97601911b04895dfee.zip |
Remove legacy PNG output mode
Diffstat (limited to 'src/main/java/org/openslx/graph/Node.java')
-rw-r--r-- | src/main/java/org/openslx/graph/Node.java | 14 |
1 files changed, 0 insertions, 14 deletions
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;
|