979899100101102103104105106107
* Creates a new core instance. */ public Core() { this.network = new Network(host, port, this); this.addWindowListener(new WindowAdapter() { @Override public void windowClosing(WindowEvent e) { Core.this.network.shutdown();