Interface InventoryViewBuilder<V extends InventoryView>
- Type Parameters:
V
- the type of InventoryView created from this builder
- All Known Subinterfaces:
LocationInventoryViewBuilder<V>
,MerchantInventoryViewBuilder<V>
Generic Builder for InventoryView's with no special attributes or parameters
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(HumanEntity player) Builds this builder into a InventoryViewcopy()
Makes a copy of this builderSets the title of the builder
-
Method Details
-
copy
Makes a copy of this builder- Returns:
- a copy of this builder
-
title
Sets the title of the builder- Parameters:
title
- the title- Returns:
- this builder
-
build
Builds this builder into a InventoryView- Parameters:
player
- the player to assign to the view- Returns:
- the created InventoryView
-