Feature/menu

Conflicts:
	audio/AudioPlayer.java
	model/GameModel.java
	model/SongHandler.java
	model/gameState/MenuState.java

Menu now works togheter with the game. A lot of known bugs with audio player
This commit is contained in:
jancoow
2015-06-05 23:17:29 +02:00
74 changed files with 334 additions and 328 deletions
+3 -12
View File
@@ -54,11 +54,8 @@ public class SongHandler {
}
public void set(int i)
{
if(currentIndex != i)
{
currentIndex = i;
updatePlayer();
}
currentIndex = i;
updatePlayer();
}
public void set(SongInstance si)
{
@@ -112,11 +109,5 @@ public class SongHandler {
p.play();
}
public void play(boolean b)
{
if(b)
{
p.play((int)currentSong.getSampleStart()*10);
}
}
}