in reply to package identifiers and scope question

If you're having to pass objects around a lot, you didn't build your objects right. One thing I'm starting to realize while building a OO game is that objects don't have attributes so much as they have actions. An object doesn't so much have something as it does something.

If you think about it that way for a few days, it will become clearer. (I had a question about this exact topic yesterday and realized that every reason I had to make something global was really just me not realizing the power of OO in my situation.)

------
We are the carpenters and bricklayers of the Information Age.

Vote paco for President!

  • Comment on Re: package identifiers and scope question