Check attacking state for collision with projectilles. Fixes #45.