19#ifndef HEADER_EVENT_REWINDER_HPP
20#define HEADER_EVENT_REWINDER_HPP
Describes a chain of 8-bit unsigned integers.
Definition: network_string.hpp:53
A simple class that defines an interface to event rewinding: an undo() function when going back in ti...
Definition: event_rewinder.hpp:29
EventRewinder()
Constructor.
Definition: event_rewinder.cpp:26
virtual ~EventRewinder()
Destructor.
Definition: event_rewinder.cpp:33
virtual void undo(BareNetworkString *buffer)=0
Called when an event needs to be undone.
virtual void rewind(BareNetworkString *buffer)=0
Called when an event needs to be replayed.