#ifndef GGAFLIB_COLLISPHEREACTOR_H_
#define GGAFLIB_COLLISPHEREACTOR_H_
#include "jp/ggaf/dxcore/actor/ex/GgafDxSphereActor.h"

namespace GgafLib {

/**
 * 当たり判定表示用球クラス
 * DefaultSphereActor を継承し、当たり判定領域表示機能を追加したアクターです。
 * @version 1.00
 * @since 2010/01/21
 * @author Masatoshi Tsuge
 */
class ColliSphereActor : public GgafDxCore::GgafDxSphereActor {
    static ColliSphereActor* _pObj;

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

public:
    ColliSphereActor(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 ~ColliSphereActor();

};

}
#endif /*GGAFLIB_COLLISPHEREACTOR_H_*/
