Hello folks,
i m trying to implement a roundbase game, but i have no idea how to design it and have the controll over the rounds etc.
The input of the player is done via a swing panel.
A player object is set to the swing-panel and so it can controll the model which is referenced in the player object.
When the shot button is pressed by the player the panel tells the gameManeger that it is the next player’s turn. When there is no next player the next round is startet and it is player’s 1 turn.
so far so good.
But how can i do with ki-players?
They dont press a button to tell that they are finished.
Can i do something with events?
and when i could use events, how should i send, process the events? Who gather the events and who shuld send the events?
Confused greetings,
b0LbiT