Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Inventory interaction no longer opens inventory

Joined
Dec 10, 2014
Messages
3,255
I'm assuming he's done this because then he can have different interact methods for different types of object in one class, rather than creating an Item class, and Npc class etc with separate interact methods (hence the method being called item). It's a bit backwards, but saves making multiple classes just to have one method in them.
Yeah, what I meant was; Interaction class with several .interact methods. The first parameter being the LocatableEntity/SpriteItem/whatever you want and the second being the action String/Regex. It honestly doesn't really matter xD
 
Are we really going to talk about this?
Just some discussion, no need to get all touchy about it xD
 
Joined
Nov 26, 2014
Messages
616
Just some discussion, no need to get all touchy about it xD
I'm not touchy, I'm just saying, really?

But you're right, Interaction would be to correct name. I never really care too much about class/package names as long as they make sense. I just can't stand bad conventions with overall design and OOP.
 
Top