com.threerings.miso.client
Interface MultiTileSprite


public interface MultiTileSprite

Implemented by any sprite that wishes to be treated as occupying a larger-than-one-tile region by Miso's render order finding algorithms.


Method Summary
 int getBaseHeight()
          Returns the number of tiles the sprite occupies along the y-axis.
 int getBaseWidth()
          Returns the number of tiles the sprite occupies along the x-axis.
 

Method Detail

getBaseWidth

int getBaseWidth()
Returns the number of tiles the sprite occupies along the x-axis. Note that the origin is defined to be the tile with the maximal x & y coordinates.


getBaseHeight

int getBaseHeight()
Returns the number of tiles the sprite occupies along the y-axis. Note that the origin is defined to be the tile with the maximal x & y coordinates.