use the turret template... Remove the turrent moving controls when you touch the wall....
Use a touch event to spawn a "enemy object" where you want them to spawn... you could create objects that give options to where you can spawn them...
they will move towards the target and you can place turrets to create the levels..