| Package | Description |
|---|---|
| io.github.portlek.observer |
the package that contains observer pattern's interfaces.
|
| io.github.portlek.observer.source |
the package that contains
Source implementations. |
| io.github.portlek.smartinventory |
the package that contains common interfaces.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Source.subscribe(@NotNull Target<T> target)
subscribes the given
Target into the source. |
void |
Source.unsubscribe(@NotNull Target<T> target)
remove the given
Target from the subscriptions of the source. |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicSource.subscribe(@NotNull Target<T> target) |
void |
BasicSource.unsubscribe(@NotNull Target<T> target) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InventoryProvider
a class that allows to manage player's inventory contents.
|
Copyright © 2021. All rights reserved.