#how do you call a method from a different class
14 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @deft arrow! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
what exactly is the problem
basically the class play music works and plays music when it compiled but i need it to play music when the main class is compiled
the class music tes is supposed to hold the background music for my game
and i think i need to call the method from musictes in the main?
JavaFX