AI code

AIController. For the built in behaviour system, you can read the source code for it and see how it works in ShooterGame.