jadex.application.space.envsupport.observer.graphics.layer
Class TiledLayer

java.lang.Object
  extended by jadex.application.space.envsupport.observer.graphics.layer.Layer
      extended by jadex.application.space.envsupport.observer.graphics.layer.TiledLayer

public class TiledLayer
extends Layer

A layer consisting of image tiles.


Field Summary
protected  String texturePath_
          Texture path.
 
Fields inherited from class jadex.application.space.envsupport.observer.graphics.layer.Layer
LAYER_TYPE_COLOR, LAYER_TYPE_GRID, LAYER_TYPE_TILED
 
Constructor Summary
TiledLayer()
          Creates a new TiledLayer.
TiledLayer(IVector2 tileSize, Object color, String texturePath)
          Creates a new TiledLayer.
 
Method Summary
 boolean equals(Object obj)
           
 IVector2 getInvTileSize()
           
 String getTexturePath()
           
 IVector2 getTileSize()
           
 
Methods inherited from class jadex.application.space.envsupport.observer.graphics.layer.Layer
flushRenderInfo, getColor, getRenderInfo, getType, setColor, setRenderInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

texturePath_

protected String texturePath_
Texture path.

Constructor Detail

TiledLayer

public TiledLayer()
Creates a new TiledLayer.


TiledLayer

public TiledLayer(IVector2 tileSize,
                  Object color,
                  String texturePath)
Creates a new TiledLayer.

Parameters:
tileSize - size of an individual tile
color - the modulation color
texturePath - resource path of the texture
Method Detail

getTileSize

public IVector2 getTileSize()

getInvTileSize

public IVector2 getInvTileSize()

getTexturePath

public String getTexturePath()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010. All Rights Reserved.