public override void Update(BaseTower entity, float delta) { var mousePos = entity.GetGlobalMousePosition(); entity.Update(); entity.DragTo(mousePos); entity.ZIndex = 4; var canPlace = entity.CanPlaceTower(); entity.AttackColour = canPlace ? GameInfo.ValidColour : GameInfo.InvalidColour; entity.DragStart = canPlace ? entity.Position : entity.DragStart; }