This is what i have as part of my code:
class Pawn : Pieces
{
string name;
public Pawn(string piece)
{
this.name = piece;
}
public override string pieceName()
{
return this.name;
}
Now in the method pieceName, i am not sure what effect there will be if i put just return name...
Basically, after i have already used this.variable... do i need to keep using the same variable with this or not?