private void AddOngoingResident(Mukya mukya) { mukya.OnMoveDone -= AddOngoingResident; if (mukya == _SelectedMukya) { _SelectedMukya = null; HUD.HideMukyaInformation(); } Building building = (Building)_OngoingResidents[mukya]; if (building.CanResidenGo()) building.AddResident(mukya); else mukya.Idle(mukya); _OngoingResidents.Remove(mukya); }