#ifndef XPHYSPRESET_H
#define XPHYSPRESET_H

#include "xasset.h"

#include <QString>

class XPhysPreset : public XAsset
{
public:
    XPhysPreset();
    ~XPhysPreset();

    virtual void ParseData(QDataStream* aStream) override;
    virtual void Clear() override;

private:
    qint32 mNamePtr;
    QString mName;

    int mType;

    float mMass;
    float mBounce;
    float mFriction;
    float mBulletForceScale;
    float mExplosiveForceScale;

    qint32 mSndAliasPrefixPtr;
    QString mSndAliasPrefix;

    float mPiecesSpreadFraction;
    float mPiecesUpwardVelocity;

    bool mTempDefaultToCylinder;
};

#endif // XPHYSPRESET_H
