Open ghost opened 6 years ago
Additionally, we should create an event handler function or class on the server side to prevent clutter as we add more commands.
@mathewhan I agree with the above statements. I'd say we using Whiteboard as a wrapper class and then store all of its children inside of it.
Because of how clunky the current code is in terms of OOP, I think we should rewrite the code in one of two ways:
Version 1
class Whiteboard: class Tools: class Brush class Text ...
Version 2
class Whiteboard: ... class Tools: class Brush class Text ...