public void Run() { if (_onClickEvent.IsEmpty()) { return; } if (!_selectedEntities.AllEntitiesEquals <Score>()) { DeselectAllEntities(); _world.SendMessage(new OnWrongSelectEvent()); return; } if (_selectedEntities.GetEntitiesCount() != 2) { return; } _selectedEntities.GetEntity(0).Get <OnMergeEvent>() .Target = _selectedEntities.GetEntity(1); DeselectAllEntities(); }