Card Permissions

See the discussion in this thread:

[url]https://forum.vassalengine.org/t/cards-and-masking/4672/1]

What I ended up doing is:

  1. Set up a “Covered” layer showing the card back (I put also a “NEW” label on it to quickly identify newly dealt cards);

  2. Have the dealer deal cards from the deck with a deck global key command (for example) which triggers
    a) sending it to the right location for the destination player
    b) un-masking it (that’s right)
    c) activating the “Covered” layer

  3. Then add an action button covering the whole surface of the card, restricted to only the playerSide “owning”
    the particular map window (or location on the game board) which triggers
    a) removing the “Covered” layer
    b) masking the card