CNSA-266-FP/Score.py

20 lines
428 B
Python
Raw Normal View History

2024-04-26 06:09:32 -07: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):