So am im updating this method
public void processMove(String s){
// Send command to tank not controlled by
// this player
tanks.get(1 - playerID).processMove(s);
}
Type: Posts; User: rmorris7
So am im updating this method
public void processMove(String s){
// Send command to tank not controlled by
// this player
tanks.get(1 - playerID).processMove(s);
}
Thats what Im trying to figure out, I have been trying to solve this for 3 days now
The game works fine.The code does what its suppose to do. Its up and running however when I fire a bullet it doesnt show up on the other player's screen, just mine.
Let me be more specific. I believe the problem is coming from this class.
class Tank implements Ball {
double locX, locY, radius, angle;
int self; // index of this tank in WarPanel.tanks...
Hi all so I a tank war game thats ran over a network and is multiplayer, however whenever I fire a bullet it shows on my screen but not the other player's screen. Can you help, here's the code:
...