Thanks for the reply!

And yeah, they are. GenericUnit was actually created to handle the
similarities, after we thought of the Facility type. They can both be
captured, and costs money, are looked upon at when registering attacks, etc.

Code is on http://github.com/lunks/wargame, if you'd like to take a look.


On Mon, Mar 7, 2011 at 14:40, Tim Shaffer <[email protected]> wrote:

> Are Facility and Unit really both types of GenericUnit? What do they have
> in common? Do they really need the same parent class?
>
>
> On Sunday, March 6, 2011 8:57:10 PM UTC-5, Pedro Nascimento wrote:
>>
>> I have a GenericUnit which Unit and Facility inherits from
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to