mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
Fix lint issues
This commit is contained in:
parent
aef96cff6e
commit
eb182d6e94
@ -27,8 +27,8 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Entity} entity
|
* @param {Entity} entity
|
||||||
*/
|
*/
|
||||||
invalidateCache(entity) {
|
invalidateCache(entity) {
|
||||||
if (!entity.components.StaticMapEntity) {
|
if (!entity.components.StaticMapEntity) {
|
||||||
@ -63,7 +63,6 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||||||
const entity = this.allEntities[i];
|
const entity = this.allEntities[i];
|
||||||
entryCount += this.recomputeSingleEntityCache(entity);
|
entryCount += this.recomputeSingleEntityCache(entity);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
logger.log("Found", entryCount, "entries to update");
|
logger.log("Found", entryCount, "entries to update");
|
||||||
|
|
||||||
@ -71,8 +70,8 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Rectangle} area
|
* @param {Rectangle} area
|
||||||
*/
|
*/
|
||||||
recomputeAreaCaches(area) {
|
recomputeAreaCaches(area) {
|
||||||
let entryCount = 0;
|
let entryCount = 0;
|
||||||
@ -88,8 +87,8 @@ export class ItemEjectorSystem extends GameSystemWithFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param {Entity} entity
|
* @param {Entity} entity
|
||||||
*/
|
*/
|
||||||
recomputeSingleEntityCache(entity) {
|
recomputeSingleEntityCache(entity) {
|
||||||
const ejectorComp = entity.components.ItemEjector;
|
const ejectorComp = entity.components.ItemEjector;
|
||||||
|
Loading…
Reference in New Issue
Block a user