added a 'wantsToRender' method in Entity, to skip rendering if outside camera
added haxepunk ai, with implemented behaviour trees