@akashic-extension/akashic-tile
Advanced tools
Comparing version 3.0.0-beta.0 to 3.0.0-beta.1
# CHANGELOG | ||
## Unreleased changes | ||
## 3.0.0-beta.1 | ||
* akashic-engine@3.0.0-beta.28 ใซ่ฟฝๅพ | ||
## 3.0.0-beta.0 | ||
* akashic-engine@3.0.0 ็ณปใซ่ฟฝๅพใใใใใฆใใผใธใงใณใ 3.0.0 ใซใ | ||
@@ -5,0 +8,0 @@ |
@@ -10,3 +10,3 @@ import TileParameterObject = require("./TileParameterObject"); | ||
*/ | ||
tileChips: g.SurfaceLike; | ||
tileChips: g.Surface; | ||
/** | ||
@@ -53,4 +53,4 @@ * ใใใใใใไธใคใฎๅน ใ | ||
*/ | ||
renderSelf(renderer: g.RendererLike, camera?: g.Camera): boolean; | ||
renderCache(renderer: g.RendererLike): void; | ||
renderSelf(renderer: g.Renderer, camera?: g.Camera): boolean; | ||
renderCache(renderer: g.Renderer): void; | ||
invalidate(): void; | ||
@@ -57,0 +57,0 @@ /** |
@@ -104,5 +104,5 @@ "use strict"; | ||
} | ||
renderer.setCompositeOperation(g.CompositeOperation.DestinationOut); | ||
renderer.setCompositeOperation("destination-out"); | ||
renderer.fillRect(dx, dy, this.tileWidth, this.tileHeight, "silver"); // DestinationOutใชใฎใง่ฒใฏใชใใงใๅฏ | ||
renderer.setCompositeOperation(g.CompositeOperation.SourceOver); | ||
renderer.setCompositeOperation("source-over"); | ||
renderer.drawImage(this.tileChips, tileX, tileY, this.tileWidth, this.tileHeight, dx, dy); | ||
@@ -109,0 +109,0 @@ this._drawnTileData[y][x] = this.tileData[y][x]; |
@@ -5,3 +5,3 @@ interface TileParameterObject extends g.CacheableEParameterObject { | ||
*/ | ||
src: g.SurfaceLike | g.ImageAssetLike; | ||
src: g.Surface | g.ImageAsset; | ||
/** | ||
@@ -8,0 +8,0 @@ * ใใใใใใไธใคใฎๅน ใ |
{ | ||
"name": "@akashic-extension/akashic-tile", | ||
"version": "3.0.0-beta.0", | ||
"version": "3.0.0-beta.1", | ||
"description": "Tilemap library for Akashic Engine", | ||
@@ -21,3 +21,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@akashic/akashic-engine": "~3.0.0-beta.12", | ||
"@akashic/akashic-engine": "~3.0.0-beta.28", | ||
"@types/node": "6.0.46", | ||
@@ -24,0 +24,0 @@ "istanbul": "^0.3.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16596