cHangingEntity questions
#1
This is a set of questions mostly for @Howaner, since he's the author of the relevant code, but perhaps someone else can bring something useful to the discussion as well.

What is the cHangingEntity class? Right now it looks it is useless - it has a single descendant, cItemFrame, so what's keeping us from skipping the unused man-in-the-middle? Is there another descendant planned?
Reply
Thanks given by:
#2
The cHangingEntity should be a super-class for ItemFrame and Painting.
I added the cHangingEntity because I planned to use this as a parameter for new hooks. (HangingBreak, HangingInteract, HangingPlace, ...)
But now I think this isn't needed because plugins can use the right click entity / entity damage hook.

You can remove the class if you want.
Reply
Thanks given by:
#3
So is the cPainting class supposed to be a descendant? If yes, it would make some sense to keep the intermediate class for the code they have in common. If there's no such code, then let's get rid of it.
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)