求解:
13行显示The method setScreen(float) is undefined for the type Shouji错。
14行显示The method getScreen() is undefined for the type Shouji错
你的setScreen方法里面要给当前对象赋值 所以setScreen方法里面应该是this.screen=newScreen;才对