libgdx API

com.badlogic.gdx.graphics.g3d.loaders.g3d.chunks
Class ChunkReader.Chunk

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.loaders.g3d.chunks.ChunkReader.Chunk
Enclosing class:
ChunkReader

public static class ChunkReader.Chunk
extends java.lang.Object


Constructor Summary
protected ChunkReader.Chunk(int id, ChunkReader.Chunk parent, byte[] bytes, int offset, int size)
           
 
Method Summary
 ChunkReader.Chunk getChild(int id)
           
 Array<ChunkReader.Chunk> getChildren()
           
 ChunkReader.Chunk[] getChildren(int id)
           
 int getId()
           
 ChunkReader.Chunk getParent()
           
 int readByte()
           
 byte[] readBytes()
           
 double readDouble()
           
 double[] readDoubles()
           
 float readFloat()
           
 float[] readFloats()
           
 int readInt()
           
 int[] readInts()
           
 long readLong()
           
 long[] readLongs()
           
 short readShort()
           
 short[] readShorts()
           
 java.lang.String readString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkReader.Chunk

protected ChunkReader.Chunk(int id,
                            ChunkReader.Chunk parent,
                            byte[] bytes,
                            int offset,
                            int size)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

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)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)