Posted May 11, 20232 yr I'm making a sword that causes an explosion after a certain number of hits. So in the hurtEnemy() method, I create a new Explosion(). I understand everything in the constructer except for the level. What do I put in there for the level? (If I need to attach more code then I can. Also, I'm a beginner so that might have been vague.)
May 12, 20232 yr 23 hours ago, Redjay said: What do I put in there for the level? The level the explosion is supposed to occur in. It would probably be the same level as the player.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.