An item lying on the floor.
int getTileY() const override
Returns the y coordinate in tiles of the actor.
int getItemId() const
Returns the item ID.
int getTileX() const override
Returns the x coordinate in tiles of the actor.
bool draw(Graphics *graphics, int offsetX, int offsetY) const override
Draws the Actor to the given graphics context.
const ItemInfo & getInfo() const
Returns the item info for this floor item.
ResourceRef< Image > mImage
Type getType() const override
Returns the type of the ActorSprite.
A central point of control for graphics.
Defines a class for storing generic item infos.
Automatically counting Resource reference.