#Help needed to send variables between packages

1 messages · Page 1 of 1 (latest)

polar imp
#

I new to java so i need some help understanding. Before my errors, my code would make an empty window with a dot in it, im trying to move the dot. To be honest the more I look at the code the more lost I get.

thorn isleBOT
#

<@&987246399047479336> please have a look, thanks.

remote valley
#

You do have a syntax error, since you try to call the no-args-constructor

#

But you have declared a constructor Movement which does accept a parameter

#

So either you create a second no-args-constructor in movement or provide the argument required to fix this syntax error

#

In case you dont know how to provide the instance as argument of the GamePanel class. You just type this as an argument