Exemplo n.º 1
0
	//public int currentStatus;

	void Start () 
	{

		hp = maxhp;
		InitUI();
		status = Status.Ready;
		//currentStatus = (int)Status.NewTurn;

		for(int y=5;y<GridHeight+5;y++)
		{
			for(int x=5;x<GridWidth+5;x++)
			{
				CreateNewGem(x,y);
				CreateNewFloor(x,y);
			//	mark_to_create[x,y] = false;
//				gems.Add(g.GetComponent<Gem>());
			}
		}
		//caching central
		central = GameObject.Find("Central");
		central_scr = central.GetComponent<Central>();

		PutInCharacter ();
		PutInMonster();
		Display();

		central_scr.Ready();
	//	PutInMonster ();
	}