import { _decorator, Component, Node } from 'cc';
import JNScrollViewItem from '../../../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem';
import { PlayerResourceIconSelect } from './PlayerResourceIconSelect';
const { ccclass, property } = _decorator;

@ccclass('PlayerResourceIconSelectScroll')
export class PlayerResourceIconSelectScroll extends JNScrollViewItem<number> {

    @property(PlayerResourceIconSelect)
    icon:PlayerResourceIconSelect;

    onInit(data:number){

        this.icon.set(data);

    }

}

