You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
777 B

  1. local MJ=MJFramework.MJFrameworkClassImprot("mj.luaScript.Views.Game.MJ")
  2. local MJDefine=MJFramework.MJImport("mj.luaScript.MJDefine")
  3. local NeiJiangMJ=class("NeiJiangMJ",MJ)
  4. function NeiJiangMJ:ctor(...)
  5. NeiJiangMJ.super.ctor(self,...)
  6. end
  7. function NeiJiangMJ:initSortValue(value)
  8. if value==0x41 then --红中的排序值修改
  9. self.sortValue=0x00
  10. else
  11. self.sortValue=value
  12. end
  13. end
  14. -- function NeiJiangMJ:recordPostion(initY)
  15. -- NeiJiangMJ.super.recordPostion(self, initY)
  16. -- end
  17. --[[function NeiJiangMJ:restorePostion(isAnim)
  18. if MJDefine.isAutomatic then
  19. self:recordPostion()
  20. end
  21. if isAnim then
  22. self:stopAllActions()
  23. self:runAction(cc.MoveTo:create(0.1,self.initPostion))
  24. else
  25. self:setPosition(self.initPostion)
  26. end
  27. end
  28. --]]
  29. return NeiJiangMJ