libgdx API

com.badlogic.gdx.graphics.g2d.tiled
Class TiledObject

java.lang.Object
  extended by com.badlogic.gdx.graphics.g2d.tiled.TiledObject

public class TiledObject
extends java.lang.Object

Contains a Tiled map object

Author:
David Fraska

Field Summary
 int gid
           
 int height
           
 java.lang.String name
           
 java.util.HashMap<java.lang.String,java.lang.String> properties
          Contains the object properties with a key of the property name.
 java.lang.String type
           
 int width
           
 int x
           
 int y
           
 
Constructor Summary
TiledObject()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

type

public java.lang.String type

x

public int x

y

public int y

width

public int width

height

public int height

gid

public int gid

properties

public java.util.HashMap<java.lang.String,java.lang.String> properties
Contains the object properties with a key of the property name.

Constructor Detail

TiledObject

public TiledObject()

libgdx API

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