BunchT Structure |
Namespace: Kit.Containers
The BunchT type exposes the following members.
| Name | Description | |
|---|---|---|
| BunchT(KeyValuePairT, Int32) | Create a BunchT from a KeyValuePairTKey, TValue. | |
| BunchT(BunchT) | Create a bunch from another one. | |
| BunchT(T, Int32) | Create a bunch with the specified item and amount. |
| Name | Description | |
|---|---|---|
| Addition(BunchT, BunchT) | Add another bunch's amount to this. | |
| Addition(BunchT, Int32) | Add a certain amount. | |
| Addition(BunchT, Single) | Add a certain amount. | |
| Division(BunchT, BunchT) | Divide the amount by a another bunch's amount. | |
| Division(BunchT, Int32) | Divide the amount by a number. | |
| Division(BunchT, Single) | Divide the amount by a number. | |
| Multiply(BunchT, BunchT) | Multiply the amount by another bunch's amount. | |
| Multiply(BunchT, Int32) | Multiply the amount by a number. | |
| Multiply(BunchT, Single) | Multiply the amount by a number. | |
| Subtraction(BunchT, BunchT) | Subtract another bunch's amount from this. | |
| Subtraction(BunchT, Int32) | Subtract a certain amount. | |
| Subtraction(BunchT, Single) | Subtract a certain amount. |
Bunch<Currency> base = new Bunch<Currency>(Currency.Diamonds, 10); Bunch<Currency> bonus = base * 4;