Sorry, this video is for subscribers only.

Click here to subscribe!


To reduce the duplication in our network layer, we’re going to genericize our event functions. Rather than needing four specific network functions for every event, we’ll just have four generic functions that can handle any event. We start out by converting sendDrawEvent() to sendEvent().

comments powered by Disqus