Esempio n. 1
0
 private void GameEngineRelocatedEventHandler(ComponentRelocatedEventData <EngineFolder> eventData)
 {
     if (this.Location.Parent.Parent.Engine.Equals(eventData.OldLocation))
     {
         this.Location = eventData.NewLocation.Parent.Games.Game(this.Name);
     }
 }
Esempio n. 2
0
 private void ComponentRelocatedEventHandler(ComponentRelocatedEventData <TLocation> eventData)
 {
     if (this.Location.Equals(eventData.OldLocation))
     {
         this.Location = eventData.NewLocation;
     }
 }