From 01d20766b4c0a49e29521dac81cb275f9980952d Mon Sep 17 00:00:00 2001 From: trans_soup <> Date: Fri, 27 Oct 2023 20:02:38 +0200 Subject: [PATCH] remove unused entity property `id`. --- js/entity.mjs | 3 --- 1 file changed, 3 deletions(-) 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,