ItemsEngine

public final class ItemsEngine

Class for converting Item into ItemEntity and vice versa.

Constructors

Link copied to clipboard
ItemsEngine ItemsEngine()

Functions

Link copied to clipboard
final Boolean tryDrop(Item item, Cell cell)

Tries to drop item as an ItemEntity at cell.

Link copied to clipboard
final Item tryPick(GameEntity pickerEntity, ItemEntity itemEntity)

Tries to pick itemEntity as an Item.