This site requires JavaScript, please enable it in your browser!
Greenfoot back
SniperRocks
SniperRocks wrote ...

2019/2/2

I've been working on a project in greenfoot and i need help on Character selection.

1
2
3
SniperRocks SniperRocks

2019/2/18

#
wait what? is this what you mean?
danpost danpost

2019/2/18

#
SniperRocks wrote...
wait what? is this what you mean?
No. Remove line 7 from your last selection class code post -- this line:
Actor player = selection.playerone;
Apparently, you changed the name. In your Arenaone class, you have that same line, which assigns playerone in the selection class to a field called player . However, player is not used anywhere else in the class. It is not added to the world, or anything.
You need to login to post a reply.
1
2
3