text: module.exports = {
    _x: 0,
    _y: 0,
    following: false,
    entity: null,
  
    follow: function(entity) {
      this.following = true;
      this.entity = entity;
    },
  
    get x() {
      return this.following ? this.entity.x : this._x;
    },
  
    get y() {
      return this.following ? this.entity.y : this._y; 
    }
  };
  