public interface PmdRigidHandler extends LoopHandler {
/** 剛体情報抽出ループ。 */
- ParseStage RIGID_LIST = new ParseStage();
+ public static final ParseStage RIGID_LIST = new ParseStage();
/**
* 剛体名の通知を受け取る。
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidName(String rigidName)
+ public abstract void pmdRigidName(String rigidName)
throws MmdFormatException;
/**
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidInfo(int rigidGroupId,
+ public abstract void pmdRigidInfo(int rigidGroupId,
int linkedBoneId)
throws MmdFormatException;
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidShape(byte shapeType,
+ public abstract void pmdRigidShape(byte shapeType,
float width, float height, float depth)
throws MmdFormatException;
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidPosition(float posX, float posY, float posZ)
+ public abstract void pmdRigidPosition(float posX, float posY, float posZ)
throws MmdFormatException;
/**
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidRotation(float radX, float radY, float radZ)
+ public abstract void pmdRigidRotation(float radX, float radY, float radZ)
throws MmdFormatException;
/**
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidPhysics(float mass,
+ public abstract void pmdRigidPhysics(float mass,
float dampingPos, float dampingRot,
float restitution, float friction )
throws MmdFormatException;
* @throws MmdFormatException 不正フォーマットによる
* パース処理の中断をパーサに指示
*/
- void pmdRigidBehavior(byte behaveType, short collisionMap)
+ public abstract void pmdRigidBehavior(byte behaveType, short collisionMap)
throws MmdFormatException;
}