Exemplo n.º 1
0
 public StartRequest(SnakeGame.SnakeServiceReference.Snake snake, SnakeGame.SnakeServiceReference.Field field, int height, int widht)
 {
     this.snake  = snake;
     this.field  = field;
     this.height = height;
     this.widht  = widht;
 }
Exemplo n.º 2
0
 public void AddBonus(ref SnakeGame.SnakeServiceReference.Snake snake, ref SnakeGame.SnakeServiceReference.Field field)
 {
     SnakeGame.SnakeServiceReference.AddBonusRequest inValue = new SnakeGame.SnakeServiceReference.AddBonusRequest();
     inValue.snake = snake;
     inValue.field = field;
     SnakeGame.SnakeServiceReference.AddBonusResponse retVal = ((SnakeGame.SnakeServiceReference.ISnakeServer)(this)).AddBonus(inValue);
     snake = retVal.snake;
     field = retVal.field;
 }
Exemplo n.º 3
0
 public void Start(ref SnakeGame.SnakeServiceReference.Snake snake, ref SnakeGame.SnakeServiceReference.Field field, int height, int widht)
 {
     SnakeGame.SnakeServiceReference.StartRequest inValue = new SnakeGame.SnakeServiceReference.StartRequest();
     inValue.snake  = snake;
     inValue.field  = field;
     inValue.height = height;
     inValue.widht  = widht;
     SnakeGame.SnakeServiceReference.StartResponse retVal = ((SnakeGame.SnakeServiceReference.ISnakeServer)(this)).Start(inValue);
     snake = retVal.snake;
     field = retVal.field;
 }
Exemplo n.º 4
0
 public AddBonusResponse(SnakeGame.SnakeServiceReference.Snake snake, SnakeGame.SnakeServiceReference.Field field)
 {
     this.snake = snake;
     this.field = field;
 }
Exemplo n.º 5
0
 public MotionRequest(SnakeGame.SnakeServiceReference.Snake snake, SnakeGame.SnakeServiceReference.Field field)
 {
     this.snake = snake;
     this.field = field;
 }