This is my class structure at the moment.

The player now needs some information on both the GUI and Table. How best can I do this?
- Make the table static? (there will only ever be one table)
- Pass an instance of the table and the corresponding seat within the constructor of player?
- Pass the data needed for each method of players as arguments?
I would like to avoid restructuring my code to include intermediate classes or the likes if possible. At this point it would be a lot of effort. Thanks 🙂
edit:
Just to clarify as my graph is crap. The GUI contains one table instance, the table contains ten seats each seat may or may not contain a player. No inheritance has been used.
I ended up just passing the data the player needed as arguments within it’s methods. I was definitely over-thinking things as I had only a small amount of data to pass on. If the data needed is more extensive look to one of the other answers.
This is a sample method within my table class that passes on two of it’s own variables and one of seats variables to the Player class by calling one of Players methods that needs these variables.