Skip to content

Merge some props in CardModel #166

@Zomis

Description

@Zomis

Currently CardModel has:

props: ["card", "targets", "doingAction", "selectEntity", "actions", "startAction"],

5 of those, "targets", "doingAction", "selectEntity", "actions", "startAction" could be put inside a single object actions that can have the properties targets, doingAction etc.

This would make it easier to use the CardModel as you wouldn't have to pass all those properties all the time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions