#include "stdafx.h"
#include "FormationDrastea001.h"

#include "jp/gecchi/VioletVreath/actor/enemy/Drastea/EnemyDrastea.h"

using namespace GgafCore;
using namespace GgafDxCore;
using namespace GgafLib;
using namespace VioletVreath;

FormationDrastea001::FormationDrastea001(const char* prm_name) : TreeFormation(prm_name) {
    _class_name = "FormationDrastea001";
    for (int i = 0; i < 10; i++) {
        addFormationMember(NEW EnemyDrastea("Drastea01"));
    }
}

void FormationDrastea001::initialize() {
}

void FormationDrastea001::processBehavior() {
    if (canCallUp() && (getActiveFrame()-1) % 32 == 0) {
        callUpMember();
    }
}

FormationDrastea001::~FormationDrastea001() {
}
