Tp.entity constructor

Tp.entity(
  1. Entity entity, {
  2. required Entity to,
  3. dynamic facing,
})

Implementation

Tp.entity(this.entity, {required Entity to, dynamic facing}) {
  this.to = to.toString();
  _setFacing(facing);
}