其实错误就是我在Hero.h里import了Monster,在Monster.h里import了Hero,所以才导致编译不过,谢谢回答我的人
http://stackoverflow.com/questions/8105688/expected-a-type-error-pointing-to-the-return-type-of-a-method