Comparing version 4.0.7 to 4.0.8
@@ -86,2 +86,15 @@ 'use strict'; | ||
/** | ||
* @description - Returns the state of an entity's specific component | ||
* @param {String} entity - the hash of the entity | ||
* @param {String} component - the specific component to retrieve | ||
* @returns {Object} the state object of the component | ||
*/ | ||
}, { | ||
key: 'getEntityComponent', | ||
value: function getEntityComponent(entity, component) { | ||
return this._stateManager.getEntityComponent(entity, component); | ||
} | ||
/** | ||
@@ -88,0 +101,0 @@ * @description - Helper method to get retrieve data for a single entity |
{ | ||
"name": "sam-ecs", | ||
"version": "4.0.7", | ||
"version": "4.0.8", | ||
"description": "A specialized entity component system", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
93446
2344