Comparing version 0.0.7 to 0.0.8
@@ -9,3 +9,33 @@ // export declare function print(): void | ||
// } | ||
export declare class Unit{ | ||
/** | ||
* add unit objects | ||
* @param units unit array | ||
*/ | ||
addUnits(units:Array<Unit>):void; | ||
/** | ||
* add unit object in childrens | ||
* @param unit Id is required | ||
*/ | ||
add(unit:Unit):void; | ||
/** | ||
* remove unit object | ||
* @param id unit id | ||
*/ | ||
remove(id:string):void; | ||
/** | ||
* remove all unit include childrens | ||
*/ | ||
removeAll():void; | ||
Render(): void; | ||
Update(): void; | ||
} | ||
export declare class Stage2D { | ||
@@ -121,6 +151,2 @@ /** | ||
export declare class Unit { | ||
Render(): void; | ||
Update(): void; | ||
} | ||
@@ -127,0 +153,0 @@ export declare class Shape extends Unit{ |
{ | ||
"name": "hetajs2d", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"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
204831
6370