public Cell(Coordinates CellCoordinates, int WordMultiplier, int LetterMultiplier, Tile Tile, bool Visited) { this.CellCoordinates = CellCoordinates; this.WordMultiplier = WordMultiplier; this.LetterMultiplier = LetterMultiplier; this.Tile = Tile; this.Visited = Visited; }
public Cell(Coordinates coordinates, int WordMultiplier, int LetterMultiplier) { this.CellCoordinates = coordinates; this.WordMultiplier = WordMultiplier; this.LetterMultiplier = LetterMultiplier; this.Tile = null; this.Visited = false; }
public Cell(Cell ToCopyCell) { this.CellCoordinates = new Coordinates(ToCopyCell.GetXColumnCoordinate(), ToCopyCell.GetYRowCoordinate()); this.WordMultiplier = ToCopyCell.GetWordMultiplier(); this.LetterMultiplier = ToCopyCell.GetLetterMultiplier(); if(ToCopyCell.GetTile() != null) { this.Tile = new Tile(ToCopyCell.GetTile()); } else { this.Tile = null; } this.Visited = ToCopyCell.IsVisited(); }
public void SetTile(Tile NewTile) { this.Tile = NewTile; }
public Tile(Tile ToCopyTile) { Letter = ToCopyTile.GetLetter(); Blank = ToCopyTile.IsBlank(); Empty = ToCopyTile.IsEmpty(); }