public CubeDrawer(Game game, float heightOfCubes) : base(game) { HeightOfCubes = heightOfCubes; cubeMeshPart = Cube.LoadModel(Game.GraphicsDevice); cubeEffect = new CubeEffect(Game); /*DESIGN: Content better handler, not here*/ cubeScale = Matrix.CreateScale(heightOfCubes); }
public CubeChunkDrawer(Game game, float heightOfCubes) : base(game) { CubeHeight = heightOfCubes; cubeMeshPart = Cube.LoadModel(Game.GraphicsDevice); cubeEffect = new CubeEffect(Game); cubeScale = Matrix.CreateScale(CubeHeight); }
public CubeChunkGrid(Nocubeless nocubeless) : base(nocubeless) { cubeEffect = new CubeEffect(Game); }