34 lines
No EOL
983 B
C++
34 lines
No EOL
983 B
C++
#ifndef __ITF_JD_MOVEINTERFACE_TESTABLE_TYPES_H__
|
|
#define __ITF_JD_MOVEINTERFACE_TESTABLE_TYPES_H__
|
|
|
|
#if defined( ITF_USE_MOVESPACEGESTURE )
|
|
|
|
#include "JD/gameplay/Managers/JD_MoveInterface.h"
|
|
|
|
namespace ITF
|
|
{
|
|
using namespace testing;
|
|
|
|
class JD_MoveInterface_Testable : public JD_MoveInterface
|
|
{
|
|
public:
|
|
|
|
JD_MoveInterface_Testable() {}
|
|
|
|
void setScoringParams(ScoringMovespaceParams& _scoringMovespaceParams) { m_scoringMovespaceParams = _scoringMovespaceParams;}
|
|
|
|
using JD_MoveInterface::computeAndGetMovespaceFinalScore;
|
|
|
|
protected:
|
|
|
|
f32 getNoMovePenaltyEnergyAmountCeil() const override {return 0.3f;}
|
|
const ScoringMovespaceParams& getScoringMovespaceParams() const override {return m_scoringMovespaceParams;}
|
|
|
|
ScoringMovespaceParams m_scoringMovespaceParams;
|
|
};
|
|
}
|
|
|
|
#endif // defined( ITF_USE_MOVESPACEGESTURE )
|
|
|
|
|
|
#endif // __ITF_JD_MOVEINTERFACE_TESTABLE_TYPES_H__
|