28 lines
No EOL
444 B
JavaScript
28 lines
No EOL
444 B
JavaScript
/*
|
|
==============- Entity.js -=============
|
|
Created by Holly (tgpethan) (c) 2021
|
|
Licenced under MIT
|
|
========================================
|
|
*/
|
|
|
|
class Entity {
|
|
constructor(EID = 0, x = 0, y = 0, z = 0, yaw = 0, pitch = 0) {
|
|
this.EID = EID;
|
|
|
|
this.x = x;
|
|
this.y = y;
|
|
this.z = z;
|
|
this.yaw = yaw;
|
|
this.pitch = pitch;
|
|
|
|
this.motionX = 0;
|
|
this.motionY = 0;
|
|
this.motionZ = 0;
|
|
}
|
|
|
|
onTick() {
|
|
|
|
}
|
|
}
|
|
|
|
module.exports = Entity; |