Ruby Abstract Class Design

Posted by MattDiPasquale on Stack Overflow See other posts from Stack Overflow or by MattDiPasquale
Published on 2010-04-07T05:12:18Z Indexed on 2010/04/07 5:23 UTC
Read the original article Hit count: 489

Filed under:
|
|

I'm creating a video game. It has Characters & Items. Since I want Characters & Items to each have a name, should I make another class called NamedObjects with just a name field and have Characters & Items extend that? Or is that going overboard?

© Stack Overflow or respective owner

Related posts about ruby

Related posts about oop