hello I am currently attempting to make a rythm game sort of like fnf otherwise known as friday night funking but so far I have not figured out any kind of code to do this, so I hope you can help me with some code you think could work, many thanks


public void removeObject(Actor obj) { if (obj instanceof Arrow)) { if (obj.getY() > 300) addScore(20); else if (obj.getY() > 200) addScore(10); else if (obj.getY() < 100) addScore(-40); } super.removeObject(obj); }