const {ccclass, property} = cc._decorator;

@ccclass
export default class HoleEnd extends cc.Component {
    @property()
    isStart: boolean = true;

    @property
    rotateSpeed: number = 180; 

    @property(cc.Node)
    holeEnd2: cc.Node = null;

    update(dt: number) {
        if (this.isStart) {
            // const rotationDelta = this.rotateSpeed * dt;
            // const newRotation = this.holeEnd2.rotation + rotationDelta;
    
            // this.holeEnd2.rotation = newRotation;  
        }
    }
}
