hasObject method
Returns whether this inventory has the specified object
.
Implementation
bool hasObject(EscapeGameObject object) => hasObjectId(object.id);
Returns whether this inventory has the specified object
.
bool hasObject(EscapeGameObject object) => hasObjectId(object.id);