﻿using UnityEngine;
using System.Collections;

public class GUIControl : MonoBehaviour {

	void Update () {
		if (Character.victoriousTeam == '0') {
			GetComponent<GUIText>().text = Character.killsA + " x " + Character.killsB;
		}
		else {
			if (Character.victoriousTeam == 'v')
				GetComponent<GUIText>().text = Character.killsA + " x " + Character.killsB +"\nTeam B Won";
			else {
				GetComponent<GUIText>().text = Character.killsA + " x " + Character.killsB +"\nTeam A Won";
			}
		}
	}
}
