コード例 #1
0
ファイル: Tile.java プロジェクト: heroyuy/systar
 /**
  * Changes the image of the tile as long as it is not null.
  *
  * @param i the new image of the tile
  */
 public void setImage(Image i) {
   if (tileset != null) {
     tileset.overlayImage(tileImageId, i);
   }
 }