HUGE cleanup and refactoring. I did a whole lot at once so I couldn't just commit each change independently.
A summary of what I've changed:
- SEPlusBase's setHeight and setWidth merged into one setSize function, where either can be left out in order to change only one. This avoids duplicate notification calls.
- Many other functions have been given functionality to let you leave out one of the arguments.
- There is an extra parameter for the set* functions that lets you prevent triggering the notification functions when set to false.
- You can now anchor an entity without setting a position. And likewise you can set a position without changing the anchor.
- Stylistic lua idioms have been implemented all throughout the code.
- Took the _ off of the change notification functions since that's supposed to be for internal members.
- getSWidth and getSHeight lets you get size including scale.
- Child's size and scale notification functions were merged.
Aaaaand, I think that's it. Whew!
Tried to do an amend after pushing. It didn't like that.