Пример #1
0
 /// <summary>
 /// Sets the current x coordinate of the player
 /// </summary>
 /// <param name="xLoc">Input the initial x coordinate of the player</param>
 public void setX(int xLoc)
 {
     last_x = x;
     x      = xLoc;
     if (col_tok != null)
     {
         col_tok.update(x, y);
     }
 }