This test class lets you play with the Inventory API. You can see it in action in the PixelRogueRoom2 demo scene.
More...
|
| virtual void | AddItemTest () |
| | Test method to add an item.
|
| virtual void | AddItemAtTest () |
| | Test method to add an item at the specified index.
|
| virtual void | MoveItemTest () |
| | Test method to move an item from index A to B.
|
| virtual void | MoveItemToInventory () |
| | Test method to move an item from index A to B.
|
| virtual void | RemoveItemTest () |
| | Test method to remove an item at the specified index.
|
| virtual void | EmptyInventoryTest () |
| | Test method to empty the target inventory.
|
This test class lets you play with the Inventory API. You can see it in action in the PixelRogueRoom2 demo scene.
◆ AddItemAtTest()
| virtual void MoreMountains.InventoryEngine.InventoryTester.AddItemAtTest |
( |
| ) |
|
|
protectedvirtual |
Test method to add an item at the specified index.
◆ AddItemTest()
| virtual void MoreMountains.InventoryEngine.InventoryTester.AddItemTest |
( |
| ) |
|
|
protectedvirtual |
Test method to add an item.
◆ EmptyInventoryTest()
| virtual void MoreMountains.InventoryEngine.InventoryTester.EmptyInventoryTest |
( |
| ) |
|
|
protectedvirtual |
Test method to empty the target inventory.
◆ MoveItemTest()
| virtual void MoreMountains.InventoryEngine.InventoryTester.MoveItemTest |
( |
| ) |
|
|
protectedvirtual |
Test method to move an item from index A to B.
◆ MoveItemToInventory()
| virtual void MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventory |
( |
| ) |
|
|
protectedvirtual |
Test method to move an item from index A to B.
◆ RemoveItemTest()
| virtual void MoreMountains.InventoryEngine.InventoryTester.RemoveItemTest |
( |
| ) |
|
|
protectedvirtual |
Test method to remove an item at the specified index.
◆ AddItem
| InventoryItem MoreMountains.InventoryEngine.InventoryTester.AddItem |
an item to add when pressing the AddItemTest button
◆ AddItemAtIndex
| int MoreMountains.InventoryEngine.InventoryTester.AddItemAtIndex |
the index at which the item should be added
◆ AddItemAtInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.AddItemAtInventory |
the inventory to add items to
◆ AddItemAtItem
| InventoryItem MoreMountains.InventoryEngine.InventoryTester.AddItemAtItem |
the inventory item to add at a specific index
◆ AddItemAtQuantity
| int MoreMountains.InventoryEngine.InventoryTester.AddItemAtQuantity |
the quantity of item to add
◆ AddItemAtTestButton
| bool MoreMountains.InventoryEngine.InventoryTester.AddItemAtTestButton |
◆ AddItemInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.AddItemInventory |
the inventory to which to add the item
◆ AddItemQuantity
| int MoreMountains.InventoryEngine.InventoryTester.AddItemQuantity |
the quantity of the item to add
◆ AddItemTestButton
| bool MoreMountains.InventoryEngine.InventoryTester.AddItemTestButton |
◆ EmptyInventoryTestButton
| bool MoreMountains.InventoryEngine.InventoryTester.EmptyInventoryTestButton |
◆ EmptyTargetInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.EmptyTargetInventory |
◆ MoveItemDestination
| int MoreMountains.InventoryEngine.InventoryTester.MoveItemDestination |
the index to which we want to move the origin index's item
◆ MoveItemInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.MoveItemInventory |
the inventory in which to move items
◆ MoveItemOrigin
| int MoreMountains.InventoryEngine.InventoryTester.MoveItemOrigin |
the index from which to move items
◆ MoveItemTestButton
| bool MoreMountains.InventoryEngine.InventoryTester.MoveItemTestButton |
◆ MoveItemToDestinationInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.MoveItemToDestinationInventory |
the inventory in which to move an item to
◆ MoveItemToInventoryDestinationIndex
| int MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventoryDestinationIndex = -1 |
the index to which we want to move the origin index's item
◆ MoveItemToInventoryOriginIndex
| int MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventoryOriginIndex |
the index from which to move items
◆ MoveItemToInventoryTestButton
| bool MoreMountains.InventoryEngine.InventoryTester.MoveItemToInventoryTestButton |
◆ MoveItemToOriginInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.MoveItemToOriginInventory |
the inventory in which to move an item from
◆ RemoveItemIndex
| int MoreMountains.InventoryEngine.InventoryTester.RemoveItemIndex |
the index at which to remove items
◆ RemoveItemInventory
| Inventory MoreMountains.InventoryEngine.InventoryTester.RemoveItemInventory |
the inventory from which to remove an item
◆ RemoveItemQuantity
| int MoreMountains.InventoryEngine.InventoryTester.RemoveItemQuantity |
the quantity to remove at the specified index
◆ RemoveItemTestButton
| bool MoreMountains.InventoryEngine.InventoryTester.RemoveItemTestButton |
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/InventoryEngine/InventoryEngine/Scripts/Tests/InventoryTester.cs