From: <wak...@ea...> - 2005-05-04 21:20:07
|
>I could change the isCompanyWhateverable methods (or any other method) >to suit your approach if you would want to highlight the clickable areas >(which I would recommend). Eh. Not really necessary. If you look at my current UI code, you'll see that all clickable areas are simply a matter of calling the .setBackgroundColor() method on the clicked area. I suppose I could set a border on the clickable areas so that there's less guesswork involved in spotting what's clickable and what's not. At this point I think it might be a little less than obvious to everyone but me, but who knows. I figured I'd let that kind of minor tweaking slide until all the major pieces are functioning. >I don't see a real need to use exceptions right now, >unless you would find checking the return values cumbersome. From a code cleanliness perspective, they're about equivalent. An If/Then is about equally as ugly as a Try/Catch. The only real advantage to using exceptions is that we can save all the condition checking for the UI rather than having each layer doing its own sanity checking. On the other hand, having each layer doing sanity checking might be preferable. Each approach seems to have equal value. So, I guess it's a matter of whether you want to just throw exceptions or whether you want to actually code the checks into the layers you're working on. I'll let you make that call. >BTW I'm testing an initial version of GameManager, which, however, >does not handle the private auction yet. That will come next. Excellent. ---Brett. |