public bool closeDoor() { DoorClosed?.Invoke(this, EventArgs.Empty); return(true); }
protected virtual void OnDoorClosed(EventArgs e) { DoorClosed?.Invoke(this, e); }
public void OnDoorClosed() { DoorClosed?.Invoke(this, EventArgs.Empty); }