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

2019/3/20

sending variables between 2 files

yaronbr yaronbr

2019/3/20

#
hello. im new to greenfoot, and im trying to create a board game where the board of the game is revealed to all players but each players hand can only be seen by that player. i created two different greenfoot projects and am trying to send a variable between them so one project can influence the other. tried doing this with an abstract java class but it doesnt seem to work a) is there a way to get two projects to communicate with each other? b) is there a better way of creating a game like this? thanks
You need to login to post a reply.