public Rubik(Game game, Vector3 size, Vector3 position) : base(game) { this.size = size; this.speed = 0.7f; this.speed1 = 0.7f; this.speed2 = 0.07f; _vertices1 = new VertexPositionNormalTexture[ilosc * ilosc * ilosc][]; _vertices2 = new VertexPositionNormalTexture[ilosc * ilosc * ilosc][]; _vertices3 = new VertexPositionNormalTexture[ilosc * ilosc * ilosc][]; _vertices4 = new VertexPositionNormalTexture[ilosc * ilosc * ilosc][]; _vertices5 = new VertexPositionNormalTexture[ilosc * ilosc * ilosc][]; _vertices6 = new VertexPositionNormalTexture[ilosc * ilosc * ilosc][]; help = new RubikCubeHelper(); }