8Gamers.NET

Копия для печати: Тест бб кодов

Прислано Ukraine naza148 26-03-2012 16:11
#2

Код
Camera camera;
Grid grid;

public Game1()
{
graphics = new GraphicsDeviceManager(this);
content = new ContentManager(Services);

camera = new Camera(this);
this.Components.Add(camera);

grid = new Grid(this);
grid.Dimension = 256;
grid.CellSize = 4;
}

protected override void LoadGraphicsContent(bool loadAllContent)
{
if (loadAllContent)
{
}

grid.LoadGraphicsContent();
}




Добавлено через 05:44 мин.

Код

Camera camera;
Grid grid;

public Game1()
{
graphics = new GraphicsDeviceManager(this);
content = new ContentManager(Services);

camera = new Camera(this);
this.Components.Add(camera);

grid = new Grid(this);
grid.Dimension = 256;
grid.CellSize = 4;
}

protected override void LoadGraphicsContent(bool loadAllContent)
{
if (loadAllContent)
{
}

grid.LoadGraphicsContent();
}




Редактировал Ukraine Vova 26-03-2012 16:11