SubTextureCollector

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.ctdp.rfdynhud.util
Class SubTextureCollector

    java.lang.Object
      net.ctdp.rfdynhud.util.SubTextureCollector

    public class SubTextureCollector

extends java.lang.Object

Sub textures (`TransformableTexture`s) are collected here.

Author:
  Marvin Froehlich (CTDP)

Constructor Summary
`SubTextureCollector()`

Method Summary
`void` | `add(TransformableTexture subTexture)` Adds a `TransformableTexture` to the end of the list.
`TransformableTexture` | `get(int index)` Gets the index-th sub texture from the list.
`int` | `getNumberOf()` Gets the number of sub textures in the list.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SubTextureCollector

    public SubTextureCollector()

Method Detail

### add

    public void add(TransformableTexture subTexture)

  Adds a `TransformableTexture` to the end of the list.

  Parameters:
    `subTexture` -

### getNumberOf

    public final int getNumberOf()

  Gets the number of sub textures in the list.

  Returns:
    the number of sub textures in the list.

### get

    public final TransformableTexture get(int index)

  Gets the index-th sub texture from the list.

  Parameters:
    `index` -
  Returns:
    the index-th sub texture from the list.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD