File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/eu/barkmin/processing/scratch Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -131,12 +131,12 @@ source.repository=https://github.com/mikebarkmin/processing-library-scratch.git
131
131
# This is used to compare different versions of the same Library, and check if
132
132
# an update is available.
133
133
134
- library.version =8
134
+ library.version =9
135
135
136
136
137
137
# The version as the user will see it.
138
138
139
- library.prettyVersion =1.7.0
139
+ library.prettyVersion =1.7.1
140
140
141
141
142
142
# 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() {
29
29
this .timer = new HashMap <>();
30
30
this .timer .put ("default" , new Timer ());
31
31
32
- ScratchStage .parent .registerMethod ("keyPressed " , this );
33
- ScratchStage .parent .registerMethod ("mouseMoved " , this );
32
+ ScratchStage .parent .registerMethod ("keyEvent " , this );
33
+ ScratchStage .parent .registerMethod ("mouseEvent " , this );
34
34
}
35
35
36
36
public ScratchSprite (String name , String imagePath ) {
@@ -756,9 +756,9 @@ public int getDaysSince2000() {
756
756
return ScratchStage .getInstance ().getDaysSince2000 ();
757
757
}
758
758
759
- public void keyPressed (KeyEvent e ) {}
759
+ public void keyEvent (KeyEvent e ) {}
760
760
761
- public void mouseMoused (MouseEvent e ) {}
761
+ public void mouseEvent (MouseEvent e ) {}
762
762
763
763
/**
764
764
* Draws the sprite if it is not hidden.
You can’t perform that action at this time.
0 commit comments