Example #1
0
 public void sendShot(Shot shot)
 {
     send(shot.toJson());
     receiveConfirmation();
 }
Example #2
0
 public void sendConfirmation(Shot shot)
 {
     send(shot.toJson());
 }
        public void shoot(Coords coords)         // tin kalei to UI otan paizei o paikths
        {
            Shot shot = new Shot(coords);

            net.sendShot(shot);
        }