This repository has been archived on 2025-08-18. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
GGS/games/tic-tac-toe/mousepress.py

9 lines
211 B
Python

from input import Input
class MousePress(Input):
def __init__(self, id, function):
Input.__init__(self, id, function)
def update(self,state):
if state == "Down":
self.fun()