Exemplo n.º 1
0
    public RequestMove moving(float posX, float posY, float posZ)
    {
        RequestMove move = new RequestMove();

        move.send(posX, posY, posZ);
        return(move);
    }
Exemplo n.º 2
0
 public bool SendMoveRequest(float x, float y, float angle)
 {
     if (cManager && cManager.IsConnected())
     {
         RequestMove request = new RequestMove();
         request.send(x, y, angle);
         cManager.send(request);
         return(true);
     }
     return(false);
 }
Exemplo n.º 3
0
 public bool SendMoveRequest(int pieceIndex, int x, int y)
 {
     if (cManager && cManager.IsConnected())
     {
         RequestMove request = new RequestMove();
         request.send(pieceIndex, x, y);
         cManager.send(request);
         return(true);
     }
     return(false);
 }