Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

23 lignes
450 B

  1. local MJ=MJFramework.MJFrameworkClassImprot("mj.luaScript.Views.Game.MJ")
  2. local MJDefine=MJFramework.MJImport("mj.luaScript.MJDefine")
  3. local bazhong=class("bazhong",MJ)
  4. function bazhong:ctor(...)
  5. bazhong.super.ctor(self,...)
  6. end
  7. function bazhong:initSortValue(value)
  8. if value==0x41 then --红中的排序值修改
  9. self.sortValue=0x00
  10. else
  11. self.sortValue=value
  12. end
  13. end
  14. function bazhong:getValue()
  15. return self.value
  16. end
  17. return bazhong