- Joined
- Dec 10, 2014
- Messages
- 3,255
- Thread Author
- #21
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 xDI'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.
Just some discussion, no need to get all touchy about it xDAre we really going to talk about this?