remove unused entity property id
.
This commit is contained in:
parent
c9dbfe9c2b
commit
01d20766b4
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue