CNSA-266-FP/Score.py

26 lines
571 B
Python
Raw Normal View History

2024-04-26 09:16:45 -04:00
import sys
2024-04-26 09:09:32 -04:00
import arcade
class Score(arcade.Sprite):
def __init__(self, SCREEN_SCALE, DEBUG):
super().__init__()
self.center_x = 0 * SCREEN_SCALE
self.center_y = 256 * SCREEN_SCALE
self.scScale = SCREEN_SCALE
self.deBuggin = DEBUG
self.value = 0
def setValue(self, newValue):
self.value = newValue
def getValue(self):
return self.value
def update(self):
2024-04-26 09:16:45 -04:00
valArr = []
for value in str(self.value):
valArr.append(value)
print(valArr)
sys.exit()