File tree Expand file tree Collapse file tree
src/eu/barkmin/processing/scratch Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ source.repository=https://github.com/mikebarkmin/processing-library-scratch.git
131131# This is used to compare different versions of the same Library, and check if
132132# an update is available.
133133
134- library.version =8
134+ library.version =9
135135
136136
137137# The version as the user will see it.
138138
139- library.prettyVersion =1.7.0
139+ library.prettyVersion =1.7.1
140140
141141
142142# The min and max revision of Processing compatible with your Library.
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ public ScratchSprite() {
2929 this .timer = new HashMap <>();
3030 this .timer .put ("default" , new Timer ());
3131
32- ScratchStage .parent .registerMethod ("keyPressed " , this );
33- ScratchStage .parent .registerMethod ("mouseMoved " , this );
32+ ScratchStage .parent .registerMethod ("keyEvent " , this );
33+ ScratchStage .parent .registerMethod ("mouseEvent " , this );
3434 }
3535
3636 public ScratchSprite (String name , String imagePath ) {
@@ -756,9 +756,9 @@ public int getDaysSince2000() {
756756 return ScratchStage .getInstance ().getDaysSince2000 ();
757757 }
758758
759- public void keyPressed (KeyEvent e ) {}
759+ public void keyEvent (KeyEvent e ) {}
760760
761- public void mouseMoused (MouseEvent e ) {}
761+ public void mouseEvent (MouseEvent e ) {}
762762
763763 /**
764764 * Draws the sprite if it is not hidden.
You can’t perform that action at this time.
0 commit comments