function Item() { this.id = 0; this.position = {x: 0, y: 0}; this.width = 32; this.height = 32; this.color = "green"; this.name = "Item"; this.type = "food"; this.sprite = "food1"; }; module.exports = Item;