Beispiel #1
0
	public override void Setup(BoardCursorActualCore c, TweenHandler t, BlockHandler b, Vector2 nexterPos, bool smallNext, bool show = true, bool touch = false) {
		deathTile = 7; // might be useless
		base.Setup(c, t, b, nexterPos, smallNext, show, touch);
		topoffset = 2;
		cursor.setWidthAndHeight(width, ++height);
		for (int x = 0; x < width; x++) { tiles.Add(CreateTile(x, height - 1, 4)); }
		shields = new List<Shield>();
		shieldSheet = Resources.LoadAll<Sprite>(SpritePaths.Shield);
		eyeSheet = Resources.LoadAll<Sprite>(PD.IsScopophobic()?SpritePaths.EyeSheetScopo:SpritePaths.EyeSheet);
		gold = 0; eyeballTimer = 0;
		justGotAShield = false;
		frozen = false;
	}