Skip to content

Make items more generic. #1

@HexDecimal

Description

@HexDecimal

Right now items are setup as an abstract class and use polymorphic subclasses to define behavior. I want to change this so that items are a generic mostly-static type which can point to the behaviors they use. This should make it easier to add and remove item behaviors since right now serialization is a real pain.

Data associated with items should be moved to a dictionary like type. Something like std::unordered_map<std::string, std::any> or something more strict.

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