Hi Rodney,
Great minds.....
See my cross-post. I have added $CurrentX$ and $CurrentY$ to BasicPiece.java in
swampwallaby-zones, but the shuffle issue means I think a Draw Card trait is
not such a bad idea.
Cheers,
Brent.
>*********** REPLY SEPARATOR ***********
>
>On 24/10/2006 at 4:50 PM Rodney Kinney wrote:
>> I think there is great power in not having to "hard code" all of the
>> possible
>> locations in to "send to location" traits.
>
>If the SendToLocation trait did property substitution (I can't remember; it
>may already), then you could do what you're trying to do. Each tile would
>set the value of a global property to its location before invoking the
>GlobalKeyCommand, and the SendToLocation would use that property to
>determine the final location.
>
>rk
>
>[Non-text portions of this message have been removed]
>
>
>
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vassalengine/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/vassalengine/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/