So say we have this player class.
Is it better to do this:
public class Player
{
public Vector2 position = new Vector2();
public Player()
{}
}
or this:
public class Player
{
public Vector2 position;
public Player()
{
position = new Vector2();
}
}
Or does it not matter at all? I like doing the first way because the code will be more clear then