addObject method
Adds the specified object
to this inventory.
Implementation
void addObject(EscapeGameObject object, {bool notify = true}) {
_objects.add(object);
if (notify) {
notifyListeners();
}
}
Adds the specified object
to this inventory.
void addObject(EscapeGameObject object, {bool notify = true}) {
_objects.add(object);
if (notify) {
notifyListeners();
}
}