Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // If the left mouse button is held down, create a new projectile.
- if(Globals.buttons[0] && !player.isOnCooldown()) {
- createParticle(pAngle);
- Runnable soundPlayThread = new Runnable() {
- @Override
- public void run() {
- Sounds.RIFLE.play();
- }
- };
- new Thread(soundPlayThread).start();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement