





#ifndef XCNODE_H
#define XCNODE_H

#include "xasset.h"

class CPlane; // Forward declaration

class XCNode_t : public XAsset
{
public:
    explicit XCNode_t();

    void ParseData(QDataStream *aStream) override;

    // Note: In a real implementation, we would have an XCPlane class
    // For now, we'll just use a pointer to CPlane as a placeholder
    void* GetPlane() const;
    void SetPlane(void* plane);

    qint16 GetChild(int index) const;
    void SetChild(int index, qint16 child);

private:
    void* mPlane = nullptr; // Placeholder for CPlane*
    qint16 mChildren[2] = {0};
};

#endif // XCNODE_H





