rendered paste body/* ClientThread.java */package lib;import main.Main;public class ClientThread extends Thread{ private Main client; public ClientThread(Main client) { this.client = client; } public void run() { System.out.println("hallo"); }}/********************** Main.java *********************/package main;/* SNIP */import lib.ClientThread;/* SNAP */public class Main extends Game { /* SNIP */ public ClientThread cthread; @Override public void initResources() { cthread = new ClientThread(this); cthread.start(); /* SNIP */ } public static void main(String[] args) { GameLoader game = new GameLoader(); game.setup(new Main(), new Dimension(640,480), false); game.start(); } }