public void SetBarrack(Barracks b) { if (barrack != null) { barrack.DesOccupy(); } b.Occupy(this); barrack = b; }