public override void UpdateWhenCurrentLocation(GameTime time) { if (!wasUpdated) { wallPaper.Update(); floor.Update(); base.UpdateWhenCurrentLocation(time); } }
public override void UpdateWhenCurrentLocation(GameTime time) { if (!wasUpdated) { wallPaper.Update(); floor.Update(); furnitureToRemove.Update(this); foreach (Furniture item in furniture) { item.updateWhenCurrentLocation(time, this); } base.UpdateWhenCurrentLocation(time); } }