com.badlogic.gdx.graphics.g3d.loaders.g3d.chunks
Class ChunkReader.Chunk
java.lang.Object
com.badlogic.gdx.graphics.g3d.loaders.g3d.chunks.ChunkReader.Chunk
- Enclosing class:
- ChunkReader
public static class ChunkReader.Chunk
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChunkReader.Chunk
protected ChunkReader.Chunk(int id,
ChunkReader.Chunk parent,
byte[] bytes,
int offset,
int size)
throws java.io.IOException
- Throws:
java.io.IOException
getId
public int getId()
getParent
public ChunkReader.Chunk getParent()
getChildren
public Array<ChunkReader.Chunk> getChildren()
readByte
public int readByte()
readShort
public short readShort()
readInt
public int readInt()
readLong
public long readLong()
readFloat
public float readFloat()
readDouble
public double readDouble()
readBytes
public byte[] readBytes()
readShorts
public short[] readShorts()
readInts
public int[] readInts()
readLongs
public long[] readLongs()
readFloats
public float[] readFloats()
readDoubles
public double[] readDoubles()
readString
public java.lang.String readString()
getChild
public ChunkReader.Chunk getChild(int id)
getChildren
public ChunkReader.Chunk[] getChildren(int id)
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)