Skip to content

Commit a9d0736

Browse files
committed
move ObjectDecoder set/getDelegate into header
1 parent 5f551c8 commit a9d0736

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

loader/include/Geode/cocos/robtop/xml/ObjectDecoder.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class CC_DLL ObjectDecoder : public cocos2d::CCNode {
2424

2525
virtual bool init();
2626

27+
ObjectDecoderDelegate* getDelegate() const { return m_delegate; }
28+
void setDelegate(ObjectDecoderDelegate* delegate) { m_delegate = delegate; }
29+
2730
public:
2831
ObjectDecoderDelegate* m_delegate;
2932
};

0 commit comments

Comments
 (0)