Esempio n. 1
0
 public void GivenIHaveAnObjectToMoveAt(double x, double y)
 {
     pos = new MutablePosition(new System.Windows.Point(x, y));
 }
Esempio n. 2
0
 /// <summary>
 /// Notifies client of shooting.
 /// </summary>
 /// <param name="source">The location which shots originated from</param>
 public void NotifyOfShooting(MutablePosition source)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public void GivenIHaveANewPositionObject()
 {
     pos = new MutablePosition();
 }
Esempio n. 4
0
 /// <summary>
 /// Sets the position of a specified player
 /// </summary>
 /// <param name="position">the new position</param>
 /// <param name="player">the player for which </param>
 public void SetPosition(MutablePosition position, MutablePlayer player)
 {
     _positionTracker.SetPosition(position, player);
 }