[messages] [Module Design] Other players cannot unmask cards

Tim McCarron timothy.mccarron at sbcglobal.net
Fri Jun 17 03:25:06 CEST 2016


Brent,

 

Wouldn't it be easy enough to make a copy of the Obscurable class, or extend
it to modify the behavior ( might need a unique trait name to distinguish
its behavior of course)?

 

From: messages [mailto:messages-bounces at vassalengine.org] On Behalf Of Brent
Easton
Sent: Thursday, June 16, 2016 7:49 PM
To: messages at vassalengine.org
Subject: Re: [messages] [Module Design] Other players cannot unmask cards

 

Hi,
You have misunderstood the meaning of the 'Any Player' option in the
Mask trait. That is who can mask the piece, not who can unmask it. The
difference between Any Player and Any Side is with 'Any Player', only
the player who masked (i.e. dealt) the piece can ever unmask it. With
the 'Any Side' option, then if the player who dealt the piece leaves the
game and a new player comes in and takes the same side as the masker,
then they can unmask the piece.

You do not want to be using a Mask trait at all. The only function of a
Mask trait is stop other players from viewing a masked card, whereas you
want everyone to access the cards. You want to be using a Layer trait
instead that allows all players access to the card.

Regards.
The 'Any Player' option means that

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=51511#p51511
_______________________________________________
messages mailing list
messages at vassalengine.org
http://www.vassalengine.org/mailman/listinfo/messages 



__________ Information from ESET Smart Security, version of virus signature
database 13660 (20160616) __________

The message was checked by ESET Smart Security.

http://www.eset.com



__________ Information from ESET Smart Security, version of virus signature
database 13660 (20160616) __________

The message was checked by ESET Smart Security.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vassalengine.org/pipermail/messages/attachments/20160616/ee0476e2/attachment-0001.html>


More information about the messages mailing list