nicolasgramlich / AndEngine

Free Android 2D OpenGL Game Engine
http://www.andengine.org
Apache License 2.0
3.17k stars 1.35k forks source link

Cannot convert from void to AnimatedSprite issue. #256

Open ghost opened 10 years ago

ghost commented 10 years ago

There are two instances in the examples project where this error occurs. There is a variable called face in the files BoundCameraExample.java and SplitScreenExample.java that is calling the constructor for AnimatedSprite with an added function call to .animate(100) at the end, the animate returns void so it is throwing this error.

Another Error I found while setting up the project files is in TextBreakExample.java where, on line 106, there is a incorrect declaration of a new TextOptions class.

Lastly in HullAlgorithmExample.java the import for DrawMode should be changed to "import org.andengine.entity.primitive.DrawMode" so that the project will compile.