| 225 | } |
| 226 | |
| 227 | size_t CraftingPane::itemCount(List<ItemPtr> const& store, ItemDescriptor const& item) { |
| 228 | auto itemDb = Root::singleton().itemDatabase(); |
| 229 | return itemDb->getCountOfItem(store, item); |
| 230 | } |
| 231 | |
| 232 | void CraftingPane::update(float dt) { |
| 233 | // shut down if we can't reach the table anymore. |
nothing calls this directly
no test coverage detected