[UPDATED 5/16] A.I. Templates - Bot, Car, & +Flying AI

I’m incorporating flying insects in my game. They will buzz around until the player gets close. Then some will move close enough to the player for a melee attack and some will move to a certain distance and then shoot a projectile at the player.

Is that hard to implement?