Click to deploy a turret. Mobs will take the quickest route around turrets, so you can block them. Red turrets - shoot one bullet - not much damage but cheap. Slimers - slow down one enemy. Rocket launchers - deal big splash damage - not cheap but not expensive either. Tasers - very expensive - shoot a laser.
Big thanks to griffpatch for the whole thing