#ifndef FORMATIONRIS002_H_
#define FORMATIONRIS002_H_
#include "jp/ggaf/lib/actor/TreeFormation.h"

namespace VioletVreath {

/**
 * 敵機リス用フォーメーションその１ .
 * @version 1.00
 * @since 2009/12/25
 * @author Masatoshi Tsuge
 */
class FormationRis002 : public GgafLib::TreeFormation {

    DepositoryConnection* pDepoConnection_;
    SplineLineConnection* pSplLineConnection_;

public:
    /** 編隊数(RANK変動) */
    int num_Ris_;
    /** 編隊間隔フレーム(RANK変動) */
    frame interval_frames_;
    /** 移動速度(RANK変動) */
    velo velo_mv_;

public:
    FormationRis002(const char* prm_name);

    void initialize() override;

    void onActive() override;

    void processBehavior() override;

    void onDestroyAll(GgafCore::GgafActor* prm_pActor_last_destroyed) override;

    virtual ~FormationRis002();
};

}
#endif /*FORMATIONRIS002_H_*/
