diff options
Diffstat (limited to 'src/jcgp/gui/handlers/NodeHandlers.java')
| -rw-r--r-- | src/jcgp/gui/handlers/NodeHandlers.java | 10 | 
1 files changed, 0 insertions, 10 deletions
| diff --git a/src/jcgp/gui/handlers/NodeHandlers.java b/src/jcgp/gui/handlers/NodeHandlers.java index 9d1f6a8..8c9c465 100644 --- a/src/jcgp/gui/handlers/NodeHandlers.java +++ b/src/jcgp/gui/handlers/NodeHandlers.java @@ -15,14 +15,8 @@ public final class NodeHandlers {  		public void handle(MouseEvent event) {  			// acquire the source, we can safely cast it to GUINode  			GUINode source = (GUINode) event.getSource(); -  			source.setState(GUIGeneState.HOVER); -			/* -			 * What have I done? Have I gone too far? -			 * Have I unleashed an evil beyond control? -			 * Will the gods of type casting ever forgive me? -			 */  			for (int i = 0; i < GUI.resources.arity(); i++) {  				((GUIGene) ((Gene) source.getNode().getConnection(i)).getGUIObject()).setState(GUIGeneState.EXTENDED_HOVER);  			} @@ -37,10 +31,6 @@ public final class NodeHandlers {  			source.setState(GUIGeneState.NEUTRAL); -			/* -			 * Is this the end? Is there any hope for salvation? -			 * Am I damned beyond redemption? -			 */  			for (int i = 0; i < GUI.resources.arity(); i++) {  				((GUIGene) ((Gene) source.getNode().getConnection(i)).getGUIObject()).setState(GUIGeneState.NEUTRAL);  			} | 
