void Start() { task = new List <AITask>(); state = this as IEntityState; if (state != null) { state.start(); } }