Skip to content

How to Creating a scalable auto-adjusting size inventory #40

@ShellWen

Description

@ShellWen

Hi there,

I am facing an issue related to the Inventory interface in our project. Currently, we have an implementation called VirtualInventory that does not include the width and height properties. However, the VirtualInventory does have a size property.

My goal is to create a custom Inventory implementation that can automatically adjust its size based on the items it contains. I'm seeking guidance on how to achieve this effectively.

Any suggestions or code examples on how to approach this problem would be greatly appreciated. Thank you in advance for your assistance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions