예제 #1
0
 public Inventory GetInventory(Craft craft)
 {
     return(craft.GetInventory(this));
 }
예제 #2
0
 public IEnumerable <Room> GetRooms(User owner)
 {
     return(Craft.GetInventory(owner).Items
            .SelectComponents <Item, Room>());
 }