Пример #1
0
 /// <summary>
 /// Send BecameInvisible event when object BecameInvisible (out of screen)
 /// </summary>
 void OnBecameInvisible()
 {
     BecameInvisible?.Invoke();
 }
Пример #2
0
 private void OnBecameInvisible()
 {
     BecameInvisible?.Invoke(this);
 }
Пример #3
0
 private void OnObjectBecameInvisibe(MapObject mapObject)
 {
     mapObject.BecameInvisible -= OnObjectBecameInvisibe;
     BecameInvisible?.Invoke(this);
 }