abstract fun consume(receiver: R, message: T) A function to consume a specific incoming game message of type T.
Parameters
the receiver object on which state is modified corresponding to this packet.
the message that provides information about what to do.