public boolean connected = false;
public HostModel(HostView hv, MasterView m) {
this.hv = hv;
this.m = m;
p = new PlayerTank(new Point(-100, -100), new Level1());
e = new EnemyTank(new Point(-100, -100), new Level1());
try {
host = new ServerSocket(4000);
client = host.accept();
out = new ObjectOutputStream(client.getOutputStream());
in = new ObjectInputStream(client.getInputStream());