20 lines
428 B
Python
20 lines
428 B
Python
|
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):
|