@Override
	public void run() {
		

		while(true){
		
			if(engine.getSide().equalsIgnoreCase("None")){
				serverTick();
				clientTick();
			}
			else if(engine.getSide().equalsIgnoreCase("Client")){
				clientTick();
			}
			else if(engine.getSide().equalsIgnoreCase("Server")){
				serverTick();
			}
			try {
				Thread.sleep(50);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}

			
        }
		


	
	}