| java.lang.Object org.netbeans.modules.vmd.game.model.ImageResource
Method Summary | |
public void | addImageResourceListener(ImageResourceListener l) | public AnimatedTile | createAnimatedTile(int index, String name, int firstStaticTileIndex, int tileWidth, int tileHeight) | public AnimatedTile | createAnimatedTile(String name, int firstStaticTileIndex, int tileWidth, int tileHeight) | public AnimatedTile | createAnimatedTile(int index, String name, Sequence sequence) | public AnimatedTile | createAnimatedTile(String name, Sequence sequence) | public Sequence | createSequence(String name, int numberFrames, int frameWidth, int frameHeight, boolean zeroBasedIndex) | public Sequence | createSequence(String name, Sequence sequence) | public void | fireAnimatedTileAdded(AnimatedTile animatedTile) | public void | fireAnimatedTileRemoved(AnimatedTile animatedTile) | public void | fireSequenceAdded(Sequence sequence) | public void | fireSequenceRemoved(Sequence sequence) | public AnimatedTile | getAnimatedTile(long id) | public AnimatedTile | getAnimatedTileByName(String name) | public List<AnimatedTile> | getAnimatedTiles() | public List<AnimatedTile> | getAnimatedTiles(int width, int height) | public StaticTile | getEmptyTile(int cellWidth, int cellHeight) | public GlobalRepository | getGameDesign() | public long | getId() | public String | getName() | public String | getName(boolean createIfNull) | public String | getRelativeResourcePath() | public Sequence | getSequence(long id) | public Sequence | getSequenceByName(String name) | public List | getSequences() | public StaticTile | getStaticTileAt(int row, int col, int tileWidth, int tileHeight, boolean zeroBasedIndex) | public int | getStaticTileCount(int tileWidth, int tileHeight) | public int | getStaticTileIndex(int cellRow, int cellColumn, int tileWidth, int tileHeight, boolean zeroBasedIndex) | public Tile | getTile(int index, int tileWidth, int tileHeight, boolean zeroBasedIndex) | public Set<Dimension> | getTileResolutions() | public URL | getURL() | public void | paint(int index, Graphics2D g, int x, int y, int tileWidth, int tileHeight, boolean zeroBasedIndex) | void | paint(int index, Graphics2D g, int x, int y, int tileWidth, int tileHeight, int scaledWidth, int scaledHeight, boolean zeroBasedIndex) | public void | removeAnimatedTile(int index) | public void | removeImageResourceListener(ImageResourceListener l) | public void | removeSequence(Sequence sequence) | public void | setId(long id) | public void | setName(String imgResName) | public void | setURL(URL imageURL) | public String | toString() |
DEBUG | final public static boolean DEBUG(Code) | | |
ImageResource | ImageResource(GlobalRepository gameDesign, URL imageURL, String relativeResourcePath)(Code) | | Only called from GlobalRepository.getImageResource()
|
createAnimatedTile | public AnimatedTile createAnimatedTile(int index, String name, int firstStaticTileIndex, int tileWidth, int tileHeight)(Code) | | |
createAnimatedTile | public AnimatedTile createAnimatedTile(String name, int firstStaticTileIndex, int tileWidth, int tileHeight)(Code) | | |
createSequence | public Sequence createSequence(String name, int numberFrames, int frameWidth, int frameHeight, boolean zeroBasedIndex)(Code) | | |
fireAnimatedTileRemoved | public void fireAnimatedTileRemoved(AnimatedTile animatedTile)(Code) | | |
fireSequenceAdded | public void fireSequenceAdded(Sequence sequence)(Code) | | |
fireSequenceRemoved | public void fireSequenceRemoved(Sequence sequence)(Code) | | |
getId | public long getId()(Code) | | |
getRelativeResourcePath | public String getRelativeResourcePath()(Code) | | |
getStaticTileAt | public StaticTile getStaticTileAt(int row, int col, int tileWidth, int tileHeight, boolean zeroBasedIndex)(Code) | | |
getStaticTileCount | public int getStaticTileCount(int tileWidth, int tileHeight)(Code) | | |
getStaticTileIndex | public int getStaticTileIndex(int cellRow, int cellColumn, int tileWidth, int tileHeight, boolean zeroBasedIndex)(Code) | | |
getTile | public Tile getTile(int index, int tileWidth, int tileHeight, boolean zeroBasedIndex)(Code) | | |
paint | public void paint(int index, Graphics2D g, int x, int y, int tileWidth, int tileHeight, boolean zeroBasedIndex)(Code) | | |
paint | void paint(int index, Graphics2D g, int x, int y, int tileWidth, int tileHeight, int scaledWidth, int scaledHeight, boolean zeroBasedIndex)(Code) | | |
removeAnimatedTile | public void removeAnimatedTile(int index)(Code) | | |
setId | public void setId(long id)(Code) | | |
|
|