@Test public void getDisplayName() { assert (testGasTile.getDisplayName().equals("Test Gas")); }
public String getDisplayName() { return displayName == null ? type.name() : displayName; }
TileInfo { public String getDisplayName() { return displayName == null ? type.name() : displayName; } }
TileInfo { public String getDisplayName() { return displayName == null ? type.name() : displayName; } TileInfo(Tiles type); }
TileInfo { public String getDisplayName() { return displayName == null ? type.name() : displayName; } TileInfo(Tiles type); static Map<Tiles, TileInfo> getTileRegistry(); static boolean hasLoaded(); static void registerTiles(); static void clearRegistry(); static TileInfo get(Tiles type); Map<String, String> getSpriteFilenames(); TileInfo setDefaultFilename(String filename); int getBlockWidth(); int getBlockHeight(); int getNumSpriteFrames(); int getSpriteFrameDuration(); Tiles getType(); String getDisplayName(); TileInfo setDisplayName(String displayName); boolean isNaturalSurface(); boolean isDestructible(); TileInfo getBackgroundTile(); TileInfo getDamagedTile(); TileInfo setBackgroundTile(Tiles backgroundTile); TileInfo setDamagedTile(Tiles damagedTile); TileInfo setNaturalSurface(boolean naturalSurface); TileInfo setDestructible(boolean destructible); abstract boolean isObstacle(); abstract boolean isLiquid(); void onEntityOnTopOfBlock(Entity entity, Tile tile, long ms); List<String> getVariants(); @Override boolean equals(Object o); @Override int hashCode(); }
TileInfo { public String getDisplayName() { return displayName == null ? type.name() : displayName; } TileInfo(Tiles type); static Map<Tiles, TileInfo> getTileRegistry(); static boolean hasLoaded(); static void registerTiles(); static void clearRegistry(); static TileInfo get(Tiles type); Map<String, String> getSpriteFilenames(); TileInfo setDefaultFilename(String filename); int getBlockWidth(); int getBlockHeight(); int getNumSpriteFrames(); int getSpriteFrameDuration(); Tiles getType(); String getDisplayName(); TileInfo setDisplayName(String displayName); boolean isNaturalSurface(); boolean isDestructible(); TileInfo getBackgroundTile(); TileInfo getDamagedTile(); TileInfo setBackgroundTile(Tiles backgroundTile); TileInfo setDamagedTile(Tiles damagedTile); TileInfo setNaturalSurface(boolean naturalSurface); TileInfo setDestructible(boolean destructible); abstract boolean isObstacle(); abstract boolean isLiquid(); void onEntityOnTopOfBlock(Entity entity, Tile tile, long ms); List<String> getVariants(); @Override boolean equals(Object o); @Override int hashCode(); static final int BLOCK_WIDTH; static final int BLOCK_HEIGHT; }