From: Brett L. <wak...@ea...> - 2006-01-03 02:50:04
|
I've tweaked the hex highlighting a bit. Now we highlight selected hexes for both tile upgrades and token placement. Also, I pulled the main highlighting logic out into it's own private method so that mouseClicked isn't quite as complicated. ---Brett. -----Original Message----- >From: Brett Lentz <wak...@ea...> >Sent: Jan 2, 2006 6:06 PM >To: rai...@li... >Subject: [Rails-devel] More Token additions > >I've committed a couple more updates to the Token code. > >I've added size checking logic so that now more tokens can't be added beyond the number of available slots. Also, this is propagated upward to display an error message. > > >---Brett > > > >-----Original Message----- >>From: Brett Lentz <wak...@ea...> >>Sent: Jan 1, 2006 6:05 PM >>To: rails-devel <rai...@li...> >>Subject: [Rails-devel] Token bug when upgrading hexes fixed >> >>Ok... I've committed the fix for what I hope is the last token placement bug. >> >>Now when tiles are upgraded, the tokens are correctly moved to a new list and reassigned to the hex. >> >>Many of the problems I was having in this area of the code were due to Java's insistence on passing everything by reference. >> >> >>---Brett. >> > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Rails-devel mailing list >Rai...@li... >https://lists.sourceforge.net/lists/listinfo/rails-devel |