Socket
Socket
Sign inDemoInstall

hetajs2d

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hetajs2d - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

36

lib/HetaJs2D.d.ts

@@ -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{

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc