Quantity Constructor
Constructor in Quantity<T>
Declaration
public Quantity(T entity, int amount)
Description
Creates a new quantity with the specified amount of a given entity.
Parameters
entity | The entity being counted. |
amount | The amount of entities. |