예제 #1
0
 public void OnUserClosesDoor()
 {
     Console.WriteLine("[Door closes]");
     DoorClosedEvent?.Invoke(this, new DoorClosedEventArgs());
 }
예제 #2
0
 public void CloseDoor()
 {
     Open = false;
     DoorClosedEvent?.Invoke(this, EventArgs.Empty);
 }
예제 #3
0
파일: Door.cs 프로젝트: toft1994/LaderSkab
 public void OnDoorClose()
 {
     DoorClosedEvent?.Invoke(this, null);
 }
예제 #4
0
 public void CloseDoor()
 {
     DoorClosedEvent?.Invoke(this, new EventArgs());
 }
예제 #5
0
 protected virtual void RaiseDoorClosedEvent()
 {
     DoorClosedEvent?.Invoke(this, EventArgs.Empty);
 }
예제 #6
0
 public virtual void OnDoorClose()
 {
     DoorClosedEvent?.Invoke(this, new DoorClosedEventArgs());
 }