#ifndef GGAFLIB_COLLIAABACTOR_H_
#define GGAFLIB_COLLIAABACTOR_H_
#include "jp/ggaf/dxcore/actor/ex/GgafDxAABActor.h"

namespace GgafLib {

/**
 * 当たり判定表示用キューブクラス
 * GgafDxAABActor を継承し、当たり判定領域表示機能を追加したアクターです。
 * @version 1.00
 * @since 2009/08/25
 * @author Masatoshi Tsuge
 */
class ColliAABActor : public GgafDxCore::GgafDxAABActor {
    static ColliAABActor* _pObj;

public:
    static ColliAABActor* get();
    static void release();

public:
    ColliAABActor(const char* prm_name, GgafCore::GgafStatus* prm_pStat = nullptr);

    virtual void onCreateModel() override {
    }

    virtual void initialize() override {
    }

    virtual void processBehavior() override {
    }

    virtual void processJudgement() override {
    }

    virtual void onCatchEvent(hashval prm_no, void* prm_pSource) override {
    }

    virtual bool processHitChkLogic(GgafCore::GgafActor* prm_pOtherActor) override {
        return false;
    }

    virtual void onHit(GgafCore::GgafActor* prm_pOtherActor) override {
    }

    void drawHitarea(CollisionChecker3D* prm_pChecker);

    virtual ~ColliAABActor();

};

}
#endif /*GGAFLIB_COLLIAABACTOR_H_*/
