You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
328 B
30 lines
328 B
2 years ago
|
'use strict';
|
||
|
|
||
|
function keyPressed(){
|
||
|
|
||
|
}
|
||
|
|
||
|
function keyReleased(){
|
||
|
|
||
|
}
|
||
|
|
||
|
function mouseMoved(){
|
||
|
|
||
|
}
|
||
|
|
||
|
function mouseDragged(){
|
||
|
|
||
|
}
|
||
|
|
||
|
function mousePressed(){
|
||
|
if (ranBool()){
|
||
|
flowers.push(new Flower(mouseX, mouseY));
|
||
|
} else {
|
||
|
hearts.push(new Heart(mouseX, mouseY));
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
function mouseReleased(){
|
||
|
|
||
|
}
|