public void UpgradeTo(PieceType pieceType) { this.pieceType = pieceType.GetUpgrade(); image.sprite = pieceType.GetImage(); }
public void Upgrade() { pieceType = pieceType.GetUpgrade(); image.sprite = pieceType.GetImage(); }
public void UpgradeTo(PieceType pieceType) { this.pieceType = pieceType.GetUpgrade(); image.sprite = pieceType.GetImage(); }
public void Upgrade() { pieceType = pieceType.GetUpgrade(); image.sprite = pieceType.GetImage(); }