25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

ht_Context.py 707B

3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
3 ay önce
123456789101112131415161718192021222324
  1. class ht_Context:
  2. def __init__(self):
  3. self.cfgContents = []
  4. self.cfgDir = None
  5. self.cfgPath = None
  6. self.cfgTree = {}
  7. self.didCreateConfigStaticSprites = False
  8. self.didLaunch = False
  9. self.didLoadConfigTextures = False
  10. self.recentField = "none"
  11. self.windowAntialiasing = False
  12. self.windowBackgroundColor = "#000000"
  13. self.windowHeight: float = 0
  14. self.windowTitle = ""
  15. self.windowWidth: float = 0
  16. def field(self, fieldName):
  17. return getattr(self, fieldName)
  18. def setField(self, fieldName, value):
  19. setattr(self, fieldName, value)
  20. def ht_createContext():
  21. return ht_Context()