Exemplo n.º 1
0
        public static FlyingEnemyPushingThroughState Create()
        {
            FlyingEnemyPushingThroughState state = ReferencePool.Acquire <FlyingEnemyPushingThroughState>();

            return(state);
        }
 protected override void AddFsmState()
 {
     stateList.Add(FlyingEnemyMoveState.Create());
     stateList.Add(FlyingEnemyPushingThroughState.Create());
     stateList.Add(EnemyAttackHomeBaseState.Create());
 }