Comparing version 0.0.12 to 0.0.13
@@ -22,3 +22,3 @@ // export declare function print(): void | ||
*/ | ||
add(units:Unit):void; | ||
add(units:Unit):void; | ||
@@ -38,3 +38,20 @@ /** | ||
/** | ||
* 조회 조건에 해당하는 Unit을 가져온다. include children | ||
* @param searchVo 조회 내용 {isSelected : true} | ||
* @param resultArr 결과 배열 | ||
*/ | ||
searchUnits(searchVo: Json, resultArr: Array<Unit>):Array<Unit>; | ||
/** | ||
* instance를 조회. include children | ||
* @param {*} Class 찾고자하는 class | ||
* @param resultArr 결과 배열 | ||
*/ | ||
searchInstances(Class: Unit, resultArr: Array<Unit>):Array<Unit>; | ||
Render(): void; | ||
@@ -88,6 +105,6 @@ Update(): void; | ||
/** | ||
* 객체 묵음의 사이즈를 입력하면 | ||
* 객체 묵음의 사이즈 w, h를 입력하면 | ||
* 카메라에 채울수 있는 거리를 결정해 준다. | ||
* @param w: world model width 여백을 줄수 있음 | ||
* @param h: world model height 여백을 줄수 있음 | ||
* @param w: world model width | ||
* @param h: world model height | ||
*/ | ||
@@ -108,3 +125,3 @@ zoomToArea(w:int, h:int):void; | ||
*/ | ||
zoomToOffset(offset:f32, v:Vec2): void; | ||
zoomOffsetTo(offset:f32, v:Vec2): void; | ||
@@ -116,3 +133,3 @@ /** | ||
*/ | ||
moveToPos(x:f32, y:f32): void; | ||
moveTo(x:f32, y:f32): void; | ||
@@ -124,4 +141,19 @@ /** | ||
*/ | ||
moveToOffset(offsetX:f32, offsetY:f32): void; | ||
offsetTo(offsetX:f32, offsetY:f32): void; | ||
/** | ||
* 확대축소 범위를 설정 기본값 10, 50000 | ||
* @param {Number} min 10 | ||
* @param {Number} max 50000 | ||
*/ | ||
setFlustrum(min:i32, max:i32):void; | ||
/** | ||
* 해당범위를 카메라 중심이 벋어나지 못함. | ||
* 기본값 ( 없음 ) | ||
* @param {*} box2 | ||
*/ | ||
setAreaLimit(box2:Box2):void; | ||
/** | ||
* 스크린 좌표를 world좌표로 변환 | ||
@@ -128,0 +160,0 @@ * @param x 마우스 좌표 X |
{ | ||
"name": "hetajs2d", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "hetajs2d", |
Sorry, the diff of this file is too big to display
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
222018
6711