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.
Currently
CardModelhas:props: ["card", "targets", "doingAction", "selectEntity", "actions", "startAction"],5 of those,
"targets", "doingAction", "selectEntity", "actions", "startAction"could be put inside a single objectactionsthat can have the propertiestargets,doingActionetc.This would make it easier to use the
CardModelas you wouldn't have to pass all those properties all the time.