int setInternalType(int type) => makePiece( this.type, colour, internalType: type, initialState: inInitialState, flags: flags, );