Files
flippr-game/displays/Display.py

11 lines
288 B
Python

from __main__ import networking
class Display:
def __init__(self, name):
self.name = name
def printScore(self, score):
networking.writeDisplayScore(self.name, score)
def printContent(self, content):
networking.writeDisplayContent(self.name, content)