gregschlom
06/12/2017, 6:18 PMA simple actor can be written as a function, but an actor with a complex state is better suited for a class.The guide proceeds to show how the
actor()
function can be used to create an actor. But how would I create a class-based actor? Not sure what the right pattern is.