// Use this for initialization
	void Start () {
		player = GetComponent<Player>();
		mashBuffer = new char[mashBufferSize];
		meleeBuffer = new char[mashBufferSize];
		for(int i = 0; i < mashBufferSize; i++){
			mashBuffer.SetValue('*', i);
			meleeBuffer.SetValue('D', i);
		}
		bufferIter = 0;
		exponentCooldown = 0;
		movementManager = gameObject.GetComponent<PlayerMovement>();
		shotManager = gameObject.GetComponent<ShotManager>();
		shotManager.SetMashBufferSize(mashBufferSize);
		startingColor = GetComponentInChildren<Renderer>().material.color;
		AudioSource[] sources = GetComponents<AudioSource>();
		audioOne = sources[1];
		audioTwo = sources[2];
	}