0
How do you call a method from another class
Im need help, my method would return text that also calls more text
3 Antworten
+ 2
Classname.methodname()
+ 1
That means gameStart() is not a static function and cannot be called directly. You need to either make an instance or make it static.
0
When i do that i get an error that says "An object reference is required for the non-static field,method, or property 'game.gameStart()'