Esempio n. 1
0
 /// <summary>
 /// Sets the desired position in the room of this user.
 /// </summary>
 /// <returns>The current User object. This allows chaining.</returns>
 public RoomUnit SetDestination(FloorLocation Destination)
 {
     this.fDestination = Destination;
     return(this);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the current position the user is at in the room.
 /// </summary>
 /// <returns>The current User object. This allows chaining.</returns>
 public RoomUnit SetPosition(FloorLocation Position)
 {
     this.fPosition = Position;
     // TODO: Force room update
     return(this);
 }