@akashic-extension/akashic-tile
Advanced tools
Comparing version 2.0.2 to 3.0.0-beta.0
# CHANGELOG | ||
## Unreleased changes | ||
* akashic-engine@3.0.0 ็ณปใซ่ฟฝๅพใใใใใฆใใผใธใงใณใ 3.0.0 ใซใ | ||
## 2.0.2 | ||
@@ -4,0 +7,0 @@ * ๅ้ๆใป้ๆ้จๅใฎใใใใใใใใใใตใใผใใ |
@@ -10,3 +10,3 @@ import TileParameterObject = require("./TileParameterObject"); | ||
*/ | ||
tileChips: g.Surface; | ||
tileChips: g.SurfaceLike; | ||
/** | ||
@@ -53,4 +53,4 @@ * ใใใใใใไธใคใฎๅน ใ | ||
*/ | ||
renderSelf(renderer: g.Renderer, camera?: g.Camera): boolean; | ||
renderCache(renderer: g.Renderer): void; | ||
renderSelf(renderer: g.RendererLike, camera?: g.Camera): boolean; | ||
renderCache(renderer: g.RendererLike): void; | ||
invalidate(): void; | ||
@@ -57,0 +57,0 @@ /** |
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
}; | ||
return function (d, b) { | ||
@@ -27,3 +30,3 @@ extendStatics(d, b); | ||
_this.tileData = param.tileData; | ||
_this.tileChips = g.Util.asSurface(param.src); | ||
_this.tileChips = g.SurfaceUtil.asSurface(param.src); | ||
_this.height = _this.tileHeight * _this.tileData.length; | ||
@@ -30,0 +33,0 @@ _this.width = _this.tileWidth * _this.tileData[0].length; |
@@ -5,3 +5,3 @@ interface TileParameterObject extends g.CacheableEParameterObject { | ||
*/ | ||
src: g.Surface | g.Asset; | ||
src: g.SurfaceLike | g.ImageAssetLike; | ||
/** | ||
@@ -8,0 +8,0 @@ * ใใใใใใไธใคใฎๅน ใ |
{ | ||
"name": "@akashic-extension/akashic-tile", | ||
"version": "2.0.2", | ||
"version": "3.0.0-beta.0", | ||
"description": "Tilemap library for Akashic Engine", | ||
@@ -21,13 +21,13 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@akashic/akashic-engine": "~3.0.0-beta.12", | ||
"@types/node": "6.0.46", | ||
"rimraf": "^2.6.1", | ||
"@akashic/akashic-engine": "~2.0.0", | ||
"istanbul": "^0.3.2", | ||
"jasmine": "~2.8.0", | ||
"mdast-lint": "^1.1.1", | ||
"remark-cli": "~2.0.0", | ||
"remark-lint": "~5.0.1", | ||
"mdast-lint": "^1.1.1", | ||
"istanbul": "^0.3.2", | ||
"typedoc": "^0.8.0", | ||
"rimraf": "^2.6.1", | ||
"tslint": "~5.4.3", | ||
"typescript": "^2.1.6" | ||
"typedoc": "^0.16.11", | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -34,0 +34,0 @@ "typings": "lib/index.d.ts", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16600
235
0
2