public override void HandleMouseMovingEvent(object sender, MouseMotionEventArgs e) { // get the map cell that the user's mouse is hovering over if (userInterfaceManager.CurrentState == UserInterfaceState.PlaceEquipmentActive || userInterfaceManager.CurrentState == UserInterfaceState.PlaceRoomActive) { IPurchasable selectedPurchasable = userInterfaceManager.SelectedPurchasableItem; hoveredMapCells = GetHoveredMapCellAndNeighbors(e.RelativeToWindowX, e.RelativeToWindowY, selectedPurchasable.HorizontalMapCellCount, selectedPurchasable.VerticalMapCellCount); userInterfaceManager.SetHoveredMapCells(hoveredMapCells); } userInterfaceManager.HandleMouseMovingEvent(sender, e); }