FlowerPot.item

Gets the current item placed in the pot. It may be null if the pot is empty.

  1. Item item [@property getter]
    class FlowerPot
    pure nothrow @property @safe @nogc
    item
    ()
  2. Item item [@property setter]

Examples

if(pot.item is null) {
   pot.item = new Items.OxeyeDaisy();
}

Meta