27 lines
418 B
TypeScript
27 lines
418 B
TypeScript
import { INFT } from "../data/DataModel";
|
|
import WalletBase from "./WallerBase";
|
|
|
|
const {ccclass, property} = cc._decorator;
|
|
|
|
@ccclass
|
|
export default class OneNFT extends WalletBase {
|
|
|
|
@property(cc.Label)
|
|
nftIDlabel: cc.Label = null;
|
|
|
|
@property(cc.Sprite)
|
|
icon: cc.Sprite = null;
|
|
|
|
data: INFT = null
|
|
|
|
// LIFE-CYCLE CALLBACKS:
|
|
|
|
// onLoad () {}
|
|
|
|
start () {
|
|
|
|
}
|
|
|
|
// update (dt) {}
|
|
}
|