cc.Class({ extends: cc.Component, properties: { strPlayerStates:'',//'NormalRun','HoldJavelinRun','RideElephantRun','Over', }, start () { this.strPlayerStates = 'NormalRun'; }, });