// public Tile(Brush bgcolor, Brush bColor, int size, Gem [] gems) { backgroundColor = bgcolor; borderColor = bColor; this.size = size; this.gems = gems; }
// Default Constructor public Tile() { // Can have up to 3 gems; gems = new Gem[3]; backgroundColor = Brushes.Orange; borderColor = Brushes.Black; size = 5; Gem gem1 = new Gem("Ruby", Directory.GetCurrentDirectory() + @"\images\gem00.png", 1); gems[0] = gem1; }
public void SetGems(Gem[] gems) { this.gems = gems; }