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