Comparing version 0.0.14 to 0.0.15
@@ -7,6 +7,40 @@ // export declare function print(): void | ||
import { Vec2 } from "../../src/scene/math/Vec2"; | ||
import { Scene2D } from "../../src/scene/Scene2D"; | ||
export declare class Scene2D{ | ||
/** | ||
* 충돌 옵젝트들. Shape만 검색한다. Item은 제외 한다. | ||
* @param {Vec2} vPos x,y 조회할 좌표 | ||
* @param {int} limit 조회할 객체 갯수 | ||
* @param {Array<String>} methodNames : [onMouseover, onMousemove, onMouseout]... | ||
* @return {Array<Unit>} selectedUnits | ||
*/ | ||
_getColliderObject(vPos:Vec2, limit:Number, methodNames:Array<String>):Array<Unit>; | ||
/** | ||
* 해당 배열에서 id찾기 | ||
* @param {*} modelId 찾을 id | ||
* @param {*} arr 조회할 배열 | ||
* @returns index number or undefined | ||
*/ | ||
_findIndex(modelId:String , arr: Array<Unit>): Number; | ||
/** | ||
* scene의 children 즉 model의 param을 조회 - include children | ||
* @param searchVo 조회 내용 {isSelected : true} | ||
* @param resultArr 결과 배열 | ||
*/ | ||
searchParam(searchVo: Json, resultArr: Array<Unit>):Array<Unit>; | ||
/** | ||
* scene의 children 즉 model의 instance를 조회. - include children | ||
* @param {*} Class 찾고자하는 class | ||
* @param resultArr 결과 배열 | ||
*/ | ||
searchInstance(Class: Unit, resultArr: Array<Unit>):Array<Unit>; | ||
} | ||
export declare class Unit{ | ||
@@ -39,14 +73,14 @@ /** | ||
/** | ||
* 조회 조건에 해당하는 Unit을 가져온다. include children | ||
* 자신의 param을 조회 - include children | ||
* @param searchVo 조회 내용 {isSelected : true} | ||
* @param resultArr 결과 배열 | ||
*/ | ||
searchUnits(searchVo: Json, resultArr: Array<Unit>):Array<Unit>; | ||
searchParam(searchVo: Json, resultArr: Array<Unit>):Array<Unit>; | ||
/** | ||
* instance를 조회. include children | ||
* 자신에서 instance를 조회. - include children | ||
* @param {*} Class 찾고자하는 class | ||
* @param resultArr 결과 배열 | ||
*/ | ||
searchInstances(Class: Unit, resultArr: Array<Unit>):Array<Unit>; | ||
searchInstance(Class: Unit, resultArr: Array<Unit>):Array<Unit>; | ||
@@ -53,0 +87,0 @@ |
{ | ||
"name": "hetajs2d", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"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
225343
6802