Artificial intelligence for a 2D side scrolling enemy that latches onto blocks.