Package dev.prozilla.pine.common
Interface Transmittable<T>
- Type Parameters:
T- The type of the target object that can receive the transmission
- All Known Subinterfaces:
ColorProperty,ConfigOption<T>,Transceivable<T>,Vector2fProperty,Vector3fProperty,Vector4fProperty
- All Known Implementing Classes:
AdaptiveColorProperty,AnimatedColorProperty,AnimatedColorProperty.AnimatedAlpha,BooleanConfigOption,Color,Colour,DelegatedVector2fProperty,DelegatedVector3fProperty,DelegatedVector4fProperty,FixedColorProperty,FloatConfigOption,IntConfigOption,LocalStorage,ObjectConfigOption,RandomVector2fProperty,SessionStorage,Storage,StringConfigOption,StyledColorProperty,TransitionedColorProperty,VariableColorProperty
public interface Transmittable<T>
Represents an object that can transmit its data.
-
Method Summary
Modifier and TypeMethodDescriptionvoidTransmits this object's data to a given target object.static <T> TtransmitBetween(Transmittable<T> source, T target) Transmits the data of a source to a given target object, if neither object isnull.
-
Method Details
-
transmit
Transmits this object's data to a given target object.- Parameters:
target- The target object to transmit data to
-
transmitBetween
Transmits the data of a source to a given target object, if neither object isnull.- Type Parameters:
T- The type of target object- Parameters:
source- The source to read data fromtarget- The target to transmit data to
-