i am an AS3 developer trying to learn C#.
i found some stuff in the example codes that i didn´t understand ://
What does the "<Player>" mean?
- Code: Select all
public class GameCode : Game<Player> {
Also strange Syntax for me ("private Tile[,] field " ... does it mean it´s an Array of Tiles? What does the "[,]" mean?
Do you have to specify what kind of Objects an Array consists of in C#?
- Code: Select all
private Tile[,] field = {
{new Tile(),new Tile(),new Tile()},
{new Tile(),new Tile(),new Tile()},
{new Tile(),new Tile(),new Tile()}
};
thx