/// <summary> /// Allows a wandering dog to wander into a particular yard from somewhere else /// </summary> /// <param name="yard">The yard into which the dog will wander</param> public void WanderInto(Yard yard) { CheckMovementRules(); yard.Transfer(this).To(yard); }
/// <summary> /// Invokes the almighty building code to draw up a new plot of land for building houses and washing dishes. /// </summary> /// <returns></returns> public Yard DrawResidentialPlot() { Yard yard = new Yard(); Transfer(yard).To(this); return yard; }