publicabstractclassFlyingObject{publicstaticfinalintLIFE=0;//活着呢publicstaticfinalintDEAD=1;//死了的(先爆破)publicstaticfinalintREMOVE=2;//删除了(爆破后删除)protectedintstate=LIFE;//当前状态(默认活着)protectedintwidth;//宽protectedintheight;//高protectedintx;//x坐标protectedinty;//y坐标/**无