Class BoundingBoxSerializer

java.lang.Object
org.apache.fory.serializer.Serializer<com.badlogic.gdx.math.collision.BoundingBox>
com.github.tommyettinger.tantrum.libgdx.BoundingBoxSerializer

public class BoundingBoxSerializer extends org.apache.fory.serializer.Serializer<com.badlogic.gdx.math.collision.BoundingBox>
Fory Serializer for libGDX BoundingBoxs.
  • Field Summary

    Fields inherited from class org.apache.fory.serializer.Serializer

    fory, immutable, isJava, needToCopyRef, needToWriteRef, refResolver, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    BoundingBoxSerializer(org.apache.fory.Fory fory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.badlogic.gdx.math.collision.BoundingBox
    read(org.apache.fory.memory.MemoryBuffer input)
     
    void
    write(org.apache.fory.memory.MemoryBuffer output, com.badlogic.gdx.math.collision.BoundingBox data)
     

    Methods inherited from class org.apache.fory.serializer.Serializer

    copy, getType, isImmutable, needToCopyRef, needToWriteRef, read, write

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • write

      public void write(org.apache.fory.memory.MemoryBuffer output, com.badlogic.gdx.math.collision.BoundingBox data)
      Specified by:
      write in class org.apache.fory.serializer.Serializer<com.badlogic.gdx.math.collision.BoundingBox>
    • read

      public com.badlogic.gdx.math.collision.BoundingBox read(org.apache.fory.memory.MemoryBuffer input)
      Specified by:
      read in class org.apache.fory.serializer.Serializer<com.badlogic.gdx.math.collision.BoundingBox>