public bool IsEqualsTo(IMyDoor anotherDoor) => door.GetId() == anotherDoor.GetId();
public Door(IMyDoor door, int timeToClose = 3) { this.door = door; this.timeToClose = timeToClose; howLongDoorIsOpen = 0; }