export default abstract class DecodedObject { private readonly newPosition : number ; constructor ( newPosition ) { this . newPosition = newPosition ; } getNewPosition ( ) { return this . newPosition ; } }