public CombatScreen(TurnBasedGame _game, Battle battle, CombatEntity player, CombatEntity monster, MapScreen parent) {
		this.game = _game;
		this.battle = battle;
		this.player = player;
		this.monster = monster;
		this.mapScreen = parent;
		rng = new Random();
		
		battle.addBattleEndListener(new BattleEndListener() {
			@Override
			public void onBattleEnd(BattleEndCondition cond) {
				if(cond == BattleEndCondition.WIN || cond == BattleEndCondition.FLEE)
					game.setScreen(mapScreen);
			}
		});
		
		battle.addBattleTurnListener(new BattleTurnListener() {
			@Override
			public void onTurn(Turn t, int amount){
				if(combatLog != null) {
					String text = "error";
					switch(t.getAction()) {
					case ATTACK:
						text = t.getSourceEntity().getName() 
								+ " attacks " 
								+ t.getTargetEntity().getName() 
								+ " for "
								+ amount;
						AngryAudio.hit();
						break;
						
					case HEAL:
						text = t.getSourceEntity().getName() 
								+ " heals self for "
								+ amount;
						break;
						
					case FIRE:
						text = t.getSourceEntity().getName() 
								+ " casts fire on " 
								+ t.getTargetEntity().getName() 
								+ " for "
								+ amount;
						break;
						
					case ICE:
						text = t.getSourceEntity().getName() 
								+ " casts ice on " 
								+ t.getTargetEntity().getName() 
								+ " for "
								+ amount;
						break;
						
					case DEFEND:
						text = t.getSourceEntity().getName() 
								+ " defends itself against the next attack!";
						break;
						default:
							text = "error2";
							break;
					}
					
					String currText = combatLog.getText().toString();
					int containsMultiline = currText.lastIndexOf('\n');
					int idx = (containsMultiline > -1) ? containsMultiline : 0;
					text = currText.substring(idx) + '\n' + text;
					combatLog.setText(text);
					
					//infolog.setText("Enemy Health: "+player.getHealth()+"/"+player.getTotalHealth()+" | "+monster.getHealth()+"/"+monster.getTotalHealth()+"Player Health:");
				}
			}
		});
	}