UnderwaterApps / overlap2d-runtime-libgdx

Overlap2D - UI and Level Editor libgdx runtime
http://overlap2d.com
Other
170 stars 96 forks source link

run error with platformer_tutorial #61

Closed bangive closed 8 years ago

bangive commented 8 years ago

I download platformer_tutorial and change extensions to newer version. I use gradle 2.6 to build project. When i run desktop it output the following error:

:\Projects\libgdx\platformer_tutorial\core\src\com\uwsoft\platformer\PlatformSy
stem.java:19: error: type argument PlatformComponent is not within bounds of typ
e-variable T
    private ComponentMapper<PlatformComponent> platformComponentComponentMapper
= ComponentMapper.getFor(PlatformComponent.class);
                            ^
  where T is a type-variable:
    T extends Component declared in class ComponentMapper
Note: E:\Projects\libgdx\platformer_tutorial\core\src\com\uwsoft\platformer\Plat
formSystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
1 warning
:core:compileJava FAILED