From: Brett L. <wak...@ea...> - 2005-12-13 20:15:04
|
Looking a bit more at the code... ok, I see how you're implementing it. Now it makes a bit more sense. So, what's the difference between Cash and Money? Worth doesn't seem to make a whole lot of sense to me. It's not storing any information of its own, but is instead calling methods in Player. So, if this information isn't something that we can abstract out, why should we make things more complicated by making a new Class? In the end, Cash and Trains make sense to me. Price seems like it could extend from Cash, because a Price is just an amount of Cash. The others don't really look like we need them. ---Brett. -----Original Message----- From: Erik Vos <eri...@hc...> Sent: Dec 13, 2005 11:31 AM To: rai...@li... Subject: RE: [Rails-devel] Granular model/view > If these are UI-side objects, it would make more sense to > place them in the /ui directory rather than in /game. But they aren't, the name says it all... Erik. ------------------------------------------------------- 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 |