using System.Collections.Generic;
using UnityEngine;

namespace SanAndreasUnity.UI {
	
	public class WorldStatsWindow : PauseMenuWindow {


		WorldStatsWindow() {

			// set default parameters

			this.windowName = "World stats";
			this.windowRect = new Rect(10, 10, 250, 330);

		}

		void Start () {

			this.RegisterButtonInPauseMenu ();

		}


		protected override void OnWindowGUI ()
		{

			if (Behaviours.World.Cell.Instance != null) {
				Behaviours.World.Cell.Instance.showWindow (this.WindowId);
			}

		}

	}

}
