Inventory.empty

Removes every item from inventory if empty is true.

  1. bool empty [@property getter]
  2. bool empty [@property setter]
    class Inventory
    @property @safe
    bool
    empty
    (
    bool empty
    )

Examples

if(!inventory.empty) {
   inventory.empty = true;
}

Meta