Beispiel #1
0
 def mousePressed(self,evt):
   if type(evt) is javaMouseEvent:
     PApplet.mousePressed(self, evt)
   elif type(evt) is p5MouseEvent:
     self.view.mousePressed()
     self.draw()