Example #1
0
        public void GivenIHaveANewHomeAtNamed(double x, double y)
        {
            var pos = new Mock <IPosition>();

            pos.SetupGet(p => p.Value).Returns(new Point(x, y));
            building = home = new BasicHome(pos.Object);
            Community.Add(home);
        }
Example #2
0
        public void GivenIHaveANewCafeAt(double x, double y)
        {
            var pos = new Mock <IPosition>();

            pos.SetupGet(p => p.Value).Returns(new System.Windows.Point(x, y));
            building = cafe = new BasicCafe(pos.Object);
            Community.Add(cafe);
        }
Example #3
0
 /// <summary>
 /// Configures the community amenities.
 /// </summary>
 private void ConfigureCommunityAmenities()
 {
     Community.Add("communityfitness", "Fitness Center");
     Community.Add("communitytennis", "Tennis Court");
     Community.Add("communitypark", "Near Park");
     Community.Add("communityclubhouse", "Clubhouse");
     Community.Add("communitybasketball", "Basketball Court");
     Community.Add("communitylaundry", "Onsite Laundry");
     Community.Add("communitypool", "Pool");
     Community.Add("communityplayground", "Playground");
     Community.Add("communitymanager", "Onsite Manager");
     Community.Add("communityhottub", "Hot Tub");
     Community.Add("communitybbq", "Bbq Area");
     Community.Add("communitymaintenance", "Onsite Maintenance");
 }