TwoWayConverter
Interface
Common
public interface TwoWayConverter<T, V : AnimationVector>
TwoWayConverter
class contains the definition on how to convert from an arbitrary type T
to a
AnimationVector
, and convert the AnimationVector
back to the type T
. This allows animations
to run on any type of objects, e.g. position, rectangle, color, etc.