function Mobile() { this.id = 0; this.position = {x: 0, y: 0}; this.targetPosition = {x: 0, y: 0}; this.width = 32; this.height = 32; this.maxSpeed = 2; this.turnRate = Math.PI / 64; this.targetAngle = 0; this.angleRadians = 0; this.color = "crimson"; this.sprite = "human1"; this.name = "Mobile"; this.type = "player"; }; module.exports = Mobile;