Merge branch 'development' into resourceManager
Added enums to ResourceManager as way of accessing assets. Not integrated yet.
ResourceManager now properly uses enums to map textures. You no longer get a texture from the manager; instead you get a ManagedTexture which holds a Texture and TextureType (which in its turn holds a path). It's done this way to make sure we keep the paths to the textures that have been loaded to properly unload them with AssetManager when we need to (in dispose() methods).
Fixed explosion not showing. Changed Map-related views to use ManagedTextures. Black-mountain bug still present.
Fixed enemyImplTest
Removed creation of body def from simpleEnemy construct, since it get's it's as a parameter
Better explanation of a test case.
- The test was failing but did not provide the most clear of error messages. Hopefully the new message is easier to understand.
Added a check to SegmentDefinitionImpl to handle an edge case.
- SegmentDefinitionImpl now throws an exception if the requested number of slices == 2 and the entry and exit slice doesn't fit together.
Release the Travis!
- Travis should once again email users (and @jokab) if pushes to github fails to build or if the tests fail.
- Set Travis to only build master and development as it could get a bit too spammy otherwise. (If you want travis to build your branch, change the .travis.yml file and add your current branch to the branches.only option.)
Some javadoc fixes.
Added PhysicsBodyDefinition to ProjectileType
Start clean up
Renamed bossDead-method
Changed set-speed-methods
Small change in projectiles' properties
Added new texture to ResourceManager
Small clean up in getEnemy-method
Removed weapons
Added more bosses in the game
Added an alternative boss texture