public void readData(SpoutInputStream input) throws IOException { type = ScreenType.getType(input.readInt()); }