Mappy_Map2D.Tile.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            string text = "";

            text = string.Format(@"Tile Informations:" +
            "\nId: {0}\n" +
            "Walkable: {1}\n" +
            "Position: {2}\n", this.Id, this.Walkable, this.Position);

            return text;
        }