Class DrawingContext

java.lang.Object
xyz.gmitch215.socketmc.util.render.DrawingContext
All Implemented Interfaces:
Serializable, Cloneable, Iterable<Function<GraphicsContext,DrawingContext.Command>>

public final class DrawingContext extends Object implements Serializable, Iterable<Function<GraphicsContext,DrawingContext.Command>>, Cloneable

Represents the raw graphics context used to display graphics on the screen.

This allows you to also collect the context of the current screen, as specified in GraphicsContext. The Function interfaces you specify must be serializable and cannot call anything external.

See Also: