Ugly implementation of aiming and firing bullets, but it works.