1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
package org.openslx.graph; public class ServerNode extends Node { private static final long serialVersionUID = 1642125227049150051L; public ServerNode( String ip ) { super( ip, ip, null ); setDesiredDistance( 6 ); } @Override public int getMaxHealth() { return 15; } }