@Test public void testTiledObjectTemplate() throws TiledException { final String objectGroupName = "Objects"; final String propertyName = "testProperty"; Assert.assertEquals(1, tiledMap.getTilesets().size); final TiledObject templateObject = tiledMap.getObjectGroup(objectGroupName).getObjectById(3); Assert.assertEquals("SUCCESS", templateObject.getProperty(propertyName)); final TiledObject overrideTemplateObject = tiledMap.getObjectGroup(objectGroupName).getObjectById(4); Assert.assertEquals("FAILED", overrideTemplateObject.getProperty(propertyName)); Assert.assertEquals(1, TiledMapData.OBJECT_TEMPLATE_TILESET_SOURCES.size); }
public TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject) { super(); this.path = path; this.tileset = tileset; this.tiledObject = tiledObject; }
TiledObjectTemplate { public TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject) { super(); this.path = path; this.tileset = tileset; this.tiledObject = tiledObject; } }
TiledObjectTemplate { public TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject) { super(); this.path = path; this.tileset = tileset; this.tiledObject = tiledObject; } TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject); }
TiledObjectTemplate { public TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject) { super(); this.path = path; this.tileset = tileset; this.tiledObject = tiledObject; } TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject); String getPath(); Tileset getTileset(); TiledObject getTiledObject(); }
TiledObjectTemplate { public TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject) { super(); this.path = path; this.tileset = tileset; this.tiledObject = tiledObject; } TiledObjectTemplate(String path, Tileset tileset, TiledObject tiledObject); String getPath(); Tileset getTileset(); TiledObject getTiledObject();  }