diff --git a/js/entity.mjs b/js/entity.mjs index 73637ef..9f9506d 100644 --- a/js/entity.mjs +++ b/js/entity.mjs @@ -3,8 +3,6 @@ import { underride } from "./underride.mjs"; -let next_id = 0; - export function create (x = 0, y = 0, width = 0, height = 0, data = {}) { data = underride(data, { visible: true, @@ -12,7 +10,6 @@ export function create (x = 0, y = 0, width = 0, height = 0, data = {}) { }); return { - id: next_id++, pos: { x: x, y: y,