Class GraphicsBox

    • Constructor Detail

      • GraphicsBox

        public GraphicsBox​(int[] coords)
        Constructor
        Parameters:
        coords - the x/y coordinates for this object
    • Method Detail

      • writeToStream

        public void writeToStream​(java.io.OutputStream os)
                           throws java.io.IOException
        DataStream objects must implement the writeToStream() method to write its data to the given OutputStream
        Specified by:
        writeToStream in interface Streamable
        Overrides:
        writeToStream in class AbstractGraphicsCoord
        Parameters:
        os - the outputsteam stream
        Throws:
        java.io.IOException - an I/O exception of some sort has occurred.