Version 3.0
diff --git a/MyTetris/.classpath b/MyTetris/.classpath
new file mode 100644
index 0000000..fceb480
--- /dev/null
+++ b/MyTetris/.classpath
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/MyTetris/.nbattrs b/MyTetris/.nbattrs
new file mode 100644
index 0000000..882c425
--- /dev/null
+++ b/MyTetris/.nbattrs
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<attributes version="1.0">
+   <fileobject name="JBoardTest.java">
+      <attr name="class_dependency_javax.swing.JComponent" stringvalue="JBoardTest"/>
+   </fileobject>
+   <fileobject name="Brain.java">
+      <attr name="EA-OpenIDE-Connection" serialvalue="aced0005737200146a6176612e7574696c2e4c696e6b65644c6973740c29535d4a608822030000787077040000000078"/>
+   </fileobject>
+   <fileobject name="JBrainTetris.java">
+      <attr name="class_dependency_Hw2.JTetris" stringvalue="JBrainTetris"/>
+      <attr name="class_dependency_JTetris" stringvalue="JBrainTetris"/>
+   </fileobject>
+   <fileobject name="LameBrain.java">
+      <attr name="class_dependency_Hw2.Brain" stringvalue="LameBrain"/>
+      <attr name="class_dependency_Brain" stringvalue="LameBrain"/>
+   </fileobject>
+   <fileobject name="JTetris.java">
+      <attr name="EA-OpenIDE-Connection" serialvalue="aced0005737200146a6176612e7574696c2e4c696e6b65644c6973740c29535d4a608822030000787077040000000078"/>
+      <attr name="class_dependency_javax.swing.JComponent" stringvalue="JTetris"/>
+   </fileobject>
+   <fileobject name="JPieceTest.java">
+      <attr name="class_dependency_javax.swing.JComponent" stringvalue="JPieceTest"/>
+   </fileobject>
+</attributes>
diff --git a/MyTetris/.project b/MyTetris/.project
new file mode 100644
index 0000000..40c8b6d
--- /dev/null
+++ b/MyTetris/.project
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>MyTetris</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+	</natures>
+</projectDescription>
diff --git a/MyTetris/.settings/org.eclipse.jdt.core.prefs b/MyTetris/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..3a21537
--- /dev/null
+++ b/MyTetris/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,11 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.8
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.8
diff --git a/MyTetris/bin/tetris/Configuration$1.class b/MyTetris/bin/tetris/Configuration$1.class
new file mode 100644
index 0000000..d42264c
--- /dev/null
+++ b/MyTetris/bin/tetris/Configuration$1.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Configuration.class b/MyTetris/bin/tetris/Configuration.class
new file mode 100644
index 0000000..e7086ae
--- /dev/null
+++ b/MyTetris/bin/tetris/Configuration.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Files.class b/MyTetris/bin/tetris/Files.class
new file mode 100644
index 0000000..b8dca48
--- /dev/null
+++ b/MyTetris/bin/tetris/Files.class
Binary files differ
diff --git a/MyTetris/bin/tetris/KeyGetter.class b/MyTetris/bin/tetris/KeyGetter.class
new file mode 100644
index 0000000..93deafc
--- /dev/null
+++ b/MyTetris/bin/tetris/KeyGetter.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Notation.class b/MyTetris/bin/tetris/Notation.class
new file mode 100644
index 0000000..84480bf
--- /dev/null
+++ b/MyTetris/bin/tetris/Notation.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Panel.class b/MyTetris/bin/tetris/Panel.class
new file mode 100644
index 0000000..54a1711
--- /dev/null
+++ b/MyTetris/bin/tetris/Panel.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Panels.class b/MyTetris/bin/tetris/Panels.class
new file mode 100644
index 0000000..47f9ec8
--- /dev/null
+++ b/MyTetris/bin/tetris/Panels.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$1.class b/MyTetris/bin/tetris/TetrisGame$1.class
new file mode 100644
index 0000000..367b340
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$1.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$ExitButtonListener.class b/MyTetris/bin/tetris/TetrisGame$ExitButtonListener.class
new file mode 100644
index 0000000..625f8d3
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$ExitButtonListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$InformationListener.class b/MyTetris/bin/tetris/TetrisGame$InformationListener.class
new file mode 100644
index 0000000..79f1136
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$InformationListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$MetalLookAndFeelListener.class b/MyTetris/bin/tetris/TetrisGame$MetalLookAndFeelListener.class
new file mode 100644
index 0000000..bfabbd9
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$MetalLookAndFeelListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$NewGameButtonListener.class b/MyTetris/bin/tetris/TetrisGame$NewGameButtonListener.class
new file mode 100644
index 0000000..7aee530
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$NewGameButtonListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$OptionsListener.class b/MyTetris/bin/tetris/TetrisGame$OptionsListener.class
new file mode 100644
index 0000000..acb2b37
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$OptionsListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$PauseGameButtonListener.class b/MyTetris/bin/tetris/TetrisGame$PauseGameButtonListener.class
new file mode 100644
index 0000000..cf02138
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$PauseGameButtonListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$SystemLookAndFeelListener.class b/MyTetris/bin/tetris/TetrisGame$SystemLookAndFeelListener.class
new file mode 100644
index 0000000..b799666
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$SystemLookAndFeelListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$gameAIListener.class b/MyTetris/bin/tetris/TetrisGame$gameAIListener.class
new file mode 100644
index 0000000..4e58a4b
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$gameAIListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$openListener.class b/MyTetris/bin/tetris/TetrisGame$openListener.class
new file mode 100644
index 0000000..f1ce0bc
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$openListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$replayListener.class b/MyTetris/bin/tetris/TetrisGame$replayListener.class
new file mode 100644
index 0000000..5588167
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$replayListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$saveListener.class b/MyTetris/bin/tetris/TetrisGame$saveListener.class
new file mode 100644
index 0000000..296052e
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$saveListener.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame$scoreUpdate.class b/MyTetris/bin/tetris/TetrisGame$scoreUpdate.class
new file mode 100644
index 0000000..6b5ed25
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame$scoreUpdate.class
Binary files differ
diff --git a/MyTetris/bin/tetris/TetrisGame.class b/MyTetris/bin/tetris/TetrisGame.class
new file mode 100644
index 0000000..e956ad5
--- /dev/null
+++ b/MyTetris/bin/tetris/TetrisGame.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Time.class b/MyTetris/bin/tetris/Time.class
new file mode 100644
index 0000000..7bf54c0
--- /dev/null
+++ b/MyTetris/bin/tetris/Time.class
Binary files differ
diff --git a/MyTetris/bin/tetris/Types.class b/MyTetris/bin/tetris/Types.class
new file mode 100644
index 0000000..6b3483d
--- /dev/null
+++ b/MyTetris/bin/tetris/Types.class
Binary files differ
diff --git a/MyTetris/doc/allclasses-frame.html b/MyTetris/doc/allclasses-frame.html
new file mode 100644
index 0000000..fa50569
--- /dev/null
+++ b/MyTetris/doc/allclasses-frame.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>All Classes</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<h1 class="bar">All Classes</h1>
+<div class="indexContainer">
+<ul>
+<li><a href="tetris/Time.html" title="class in tetris" target="classFrame">Time</a></li>
+</ul>
+</div>
+</body>
+</html>
diff --git a/MyTetris/doc/allclasses-noframe.html b/MyTetris/doc/allclasses-noframe.html
new file mode 100644
index 0000000..c198343
--- /dev/null
+++ b/MyTetris/doc/allclasses-noframe.html
@@ -0,0 +1,18 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>All Classes</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<h1 class="bar">All Classes</h1>
+<div class="indexContainer">
+<ul>
+<li><a href="tetris/Time.html" title="class in tetris">Time</a></li>
+</ul>
+</div>
+</body>
+</html>
diff --git a/MyTetris/doc/constant-values.html b/MyTetris/doc/constant-values.html
new file mode 100644
index 0000000..8e79e1c
--- /dev/null
+++ b/MyTetris/doc/constant-values.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>Constant Field Values</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Constant Field Values";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
+<li><a href="constant-values.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
+<h2 title="Contents">Contents</h2>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
+<li><a href="constant-values.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/deprecated-list.html b/MyTetris/doc/deprecated-list.html
new file mode 100644
index 0000000..7030a93
--- /dev/null
+++ b/MyTetris/doc/deprecated-list.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>Deprecated List</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Deprecated List";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li class="navBarCell1Rev">Deprecated</li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
+<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 title="Deprecated API" class="title">Deprecated API</h1>
+<h2 title="Contents">Contents</h2>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li class="navBarCell1Rev">Deprecated</li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?deprecated-list.html" target="_top">Frames</a></li>
+<li><a href="deprecated-list.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/help-doc.html b/MyTetris/doc/help-doc.html
new file mode 100644
index 0000000..f6168dd
--- /dev/null
+++ b/MyTetris/doc/help-doc.html
@@ -0,0 +1,214 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>API Help</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="API Help";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li class="navBarCell1Rev">Help</li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
+<li><a href="help-doc.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 class="title">How This API Document Is Organized</h1>
+<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
+</div>
+<div class="contentContainer">
+<ul class="blockList">
+<li class="blockList">
+<h2>Package</h2>
+<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. This page can contain six categories:</p>
+<ul>
+<li>Interfaces (italic)</li>
+<li>Classes</li>
+<li>Enums</li>
+<li>Exceptions</li>
+<li>Errors</li>
+<li>Annotation Types</li>
+</ul>
+</li>
+<li class="blockList">
+<h2>Class/Interface</h2>
+<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
+<ul>
+<li>Class inheritance diagram</li>
+<li>Direct Subclasses</li>
+<li>All Known Subinterfaces</li>
+<li>All Known Implementing Classes</li>
+<li>Class/interface declaration</li>
+<li>Class/interface description</li>
+</ul>
+<ul>
+<li>Nested Class Summary</li>
+<li>Field Summary</li>
+<li>Constructor Summary</li>
+<li>Method Summary</li>
+</ul>
+<ul>
+<li>Field Detail</li>
+<li>Constructor Detail</li>
+<li>Method Detail</li>
+</ul>
+<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
+</li>
+<li class="blockList">
+<h2>Annotation Type</h2>
+<p>Each annotation type has its own separate page with the following sections:</p>
+<ul>
+<li>Annotation Type declaration</li>
+<li>Annotation Type description</li>
+<li>Required Element Summary</li>
+<li>Optional Element Summary</li>
+<li>Element Detail</li>
+</ul>
+</li>
+<li class="blockList">
+<h2>Enum</h2>
+<p>Each enum has its own separate page with the following sections:</p>
+<ul>
+<li>Enum declaration</li>
+<li>Enum description</li>
+<li>Enum Constant Summary</li>
+<li>Enum Constant Detail</li>
+</ul>
+</li>
+<li class="blockList">
+<h2>Use</h2>
+<p>Each documented package, class and interface has its own Use page.  This page describes what packages, classes, methods, constructors and fields use any part of the given class or package. Given a class or interface A, its Use page includes subclasses of A, fields declared as A, methods that return A, and methods and constructors with parameters of type A.  You can access this page by first going to the package, class or interface, then clicking on the "Use" link in the navigation bar.</p>
+</li>
+<li class="blockList">
+<h2>Tree (Class Hierarchy)</h2>
+<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. The classes are organized by inheritance structure starting with <code>java.lang.Object</code>. The interfaces do not inherit from <code>java.lang.Object</code>.</p>
+<ul>
+<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
+<li>When viewing a particular package, class or interface page, clicking "Tree" displays the hierarchy for only that package.</li>
+</ul>
+</li>
+<li class="blockList">
+<h2>Deprecated API</h2>
+<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
+</li>
+<li class="blockList">
+<h2>Index</h2>
+<p>The <a href="index-files/index-1.html">Index</a> contains an alphabetic list of all classes, interfaces, constructors, methods, and fields.</p>
+</li>
+<li class="blockList">
+<h2>Prev/Next</h2>
+<p>These links take you to the next or previous class, interface, package, or related page.</p>
+</li>
+<li class="blockList">
+<h2>Frames/No Frames</h2>
+<p>These links show and hide the HTML frames.  All pages are available with or without frames.</p>
+</li>
+<li class="blockList">
+<h2>All Classes</h2>
+<p>The <a href="allclasses-noframe.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
+</li>
+<li class="blockList">
+<h2>Serialized Form</h2>
+<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
+</li>
+<li class="blockList">
+<h2>Constant Field Values</h2>
+<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
+</li>
+</ul>
+<em>This help file applies to API documentation generated using the standard doclet.</em></div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="overview-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li class="navBarCell1Rev">Help</li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?help-doc.html" target="_top">Frames</a></li>
+<li><a href="help-doc.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-1.html b/MyTetris/doc/index-files/index-1.html
new file mode 100644
index 0000000..0a011c3
--- /dev/null
+++ b/MyTetris/doc/index-files/index-1.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>E-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="E-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Letter</li>
+<li><a href="index-2.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-1.html" target="_top">Frames</a></li>
+<li><a href="index-1.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;<a name="_E_">
+<!--   -->
+</a>
+<h2 class="title">E</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Time.html#elapsedCycle()">elapsedCycle()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Checks to see if a cycle has elapsed for this timer.</div>
+</dd>
+</dl>
+<a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Letter</li>
+<li><a href="index-2.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-1.html" target="_top">Frames</a></li>
+<li><a href="index-1.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-10.html b/MyTetris/doc/index-files/index-10.html
new file mode 100644
index 0000000..0f6f6c2
--- /dev/null
+++ b/MyTetris/doc/index-files/index-10.html
@@ -0,0 +1,124 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>L-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="L-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-9.html">Prev Letter</a></li>
+<li><a href="index-11.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-10.html" target="_top">Frames</a></li>
+<li><a href="index-10.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_L_">
+<!--   -->
+</a>
+<h2 class="title">L</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#left">left</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#lines">lines</a></span> - Static variable in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/KeyGetter.html#loadKeys()">loadKeys()</a></span> - Static method in class tetris.<a href="../tetris/KeyGetter.html" title="class in tetris">KeyGetter</a></dt>
+<dd>
+<div class="block">Take keys from system.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-9.html">Prev Letter</a></li>
+<li><a href="index-11.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-10.html" target="_top">Frames</a></li>
+<li><a href="index-10.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-11.html b/MyTetris/doc/index-files/index-11.html
new file mode 100644
index 0000000..b191850
--- /dev/null
+++ b/MyTetris/doc/index-files/index-11.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>M-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="M-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-10.html">Prev Letter</a></li>
+<li><a href="index-12.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-11.html" target="_top">Frames</a></li>
+<li><a href="index-11.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_M_">
+<!--   -->
+</a>
+<h2 class="title">M</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#main(java.lang.String[])">main(String[])</a></span> - Static method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Entry-point of the game that responsible for creating and starting a new game.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-10.html">Prev Letter</a></li>
+<li><a href="index-12.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-11.html" target="_top">Frames</a></li>
+<li><a href="index-11.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-12.html b/MyTetris/doc/index-files/index-12.html
new file mode 100644
index 0000000..b20277f
--- /dev/null
+++ b/MyTetris/doc/index-files/index-12.html
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>N-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="N-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-11.html">Prev Letter</a></li>
+<li><a href="index-13.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-12.html" target="_top">Frames</a></li>
+<li><a href="index-12.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_N_">
+<!--   -->
+</a>
+<h2 class="title">N</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#newGame()">newGame()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Checks to see whether or not the game started.</div>
+</dd>
+<dt><a href="../tetris/Notation.html" title="class in tetris"><span class="strong">Notation</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#Notation(int,%20int,%20int,%20int,%20int,%20int)">Notation(int, int, int, int, int, int)</a></span> - Constructor for class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#Notation(int,%20int,%20int,%20tetris.Types,%20boolean)">Notation(int, int, int, Types, boolean)</a></span> - Constructor for class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-11.html">Prev Letter</a></li>
+<li><a href="index-13.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-12.html" target="_top">Frames</a></li>
+<li><a href="index-12.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-13.html b/MyTetris/doc/index-files/index-13.html
new file mode 100644
index 0000000..bcfa4db
--- /dev/null
+++ b/MyTetris/doc/index-files/index-13.html
@@ -0,0 +1,121 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>O-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="O-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-12.html">Prev Letter</a></li>
+<li><a href="index-14.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-13.html" target="_top">Frames</a></li>
+<li><a href="index-13.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_O_">
+<!--   -->
+</a>
+<h2 class="title">O</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#openConfig(javax.swing.JFrame)">openConfig(JFrame)</a></span> - Static method in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>
+<div class="block">Set the properties of the window, determine the position of the buttons, adds a controller
+ listener.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-12.html">Prev Letter</a></li>
+<li><a href="index-14.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-13.html" target="_top">Frames</a></li>
+<li><a href="index-13.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-14.html b/MyTetris/doc/index-files/index-14.html
new file mode 100644
index 0000000..fafd77a
--- /dev/null
+++ b/MyTetris/doc/index-files/index-14.html
@@ -0,0 +1,154 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>P-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="P-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-13.html">Prev Letter</a></li>
+<li><a href="index-15.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-14.html" target="_top">Frames</a></li>
+<li><a href="index-14.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_P_">
+<!--   -->
+</a>
+<h2 class="title">P</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Panel.html#paintComponent(java.awt.Graphics)">paintComponent(Graphics)</a></span> - Method in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>
+<div class="block">Draw the current tile and grid for best display.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Panels.html#paintComponent(java.awt.Graphics)">paintComponent(Graphics)</a></span> - Method in class tetris.<a href="../tetris/Panels.html" title="class in tetris">Panels</a></dt>
+<dd>
+<div class="block">Display information such as the next piece, the score and current level.</div>
+</dd>
+<dt><a href="../tetris/Panel.html" title="class in tetris"><span class="strong">Panel</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The class is responsible for displaying the game grid and handling things for the game board.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#Panel(tetris.TetrisGame)">Panel(TetrisGame)</a></span> - Constructor for class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>
+<div class="block">Crates a new gameBoard.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#panelHeight">panelHeight</a></span> - Static variable in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>&nbsp;</dd>
+<dt><a href="../tetris/Panels.html" title="class in tetris"><span class="strong">Panels</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The class is responsible for displaying various information.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Panels.html#Panels(tetris.TetrisGame)">Panels(TetrisGame)</a></span> - Constructor for class tetris.<a href="../tetris/Panels.html" title="class in tetris">Panels</a></dt>
+<dd>
+<div class="block">Creates a new panel and sets it's display properties.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#panelWidth">panelWidth</a></span> - Static variable in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Configuration.html#pause">pause</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#pause()">pause()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Checks to see whether or not the game is paused.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#pause()">pause()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">See if the clock is currently paused.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-13.html">Prev Letter</a></li>
+<li><a href="index-15.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-14.html" target="_top">Frames</a></li>
+<li><a href="index-14.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-15.html b/MyTetris/doc/index-files/index-15.html
new file mode 100644
index 0000000..3799dd8
--- /dev/null
+++ b/MyTetris/doc/index-files/index-15.html
@@ -0,0 +1,118 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Q-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Q-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-14.html">Prev Letter</a></li>
+<li><a href="index-16.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-15.html" target="_top">Frames</a></li>
+<li><a href="index-15.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_Q_">
+<!--   -->
+</a>
+<h2 class="title">Q</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#Q">Q</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-14.html">Prev Letter</a></li>
+<li><a href="index-16.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-15.html" target="_top">Frames</a></li>
+<li><a href="index-15.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-16.html b/MyTetris/doc/index-files/index-16.html
new file mode 100644
index 0000000..7b9039d
--- /dev/null
+++ b/MyTetris/doc/index-files/index-16.html
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>R-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="R-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-15.html">Prev Letter</a></li>
+<li><a href="index-17.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-16.html" target="_top">Frames</a></li>
+<li><a href="index-16.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_R_">
+<!--   -->
+</a>
+<h2 class="title">R</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#R">R</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Files.html#readSave(java.lang.String)">readSave(String)</a></span> - Static method in class tetris.<a href="../tetris/Files.html" title="class in tetris">Files</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Configuration.html#right">right</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Configuration.html#rotateLeft">rotateLeft</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Configuration.html#rotateRight">rotateRight</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-15.html">Prev Letter</a></li>
+<li><a href="index-17.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-16.html" target="_top">Frames</a></li>
+<li><a href="index-16.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-17.html b/MyTetris/doc/index-files/index-17.html
new file mode 100644
index 0000000..ca2ea68
--- /dev/null
+++ b/MyTetris/doc/index-files/index-17.html
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>S-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="S-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-16.html">Prev Letter</a></li>
+<li><a href="index-18.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-17.html" target="_top">Frames</a></li>
+<li><a href="index-17.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_S_">
+<!--   -->
+</a>
+<h2 class="title">S</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#S">S</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Configuration.html#saveChanges()">saveChanges()</a></span> - Static method in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>
+<div class="block">Save our choose for this game.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#setCol(int)">setCol(int)</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#setCycles(float)">setCycles(float)</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Number of cycles that elapse per second.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#setPause(boolean)">setPause(boolean)</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Pauses or unpauses the timer.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#setRotate(int)">setRotate(int)</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#setRow(int)">setRow(int)</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#setTime()">setTime()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Resets the timer stats.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-16.html">Prev Letter</a></li>
+<li><a href="index-18.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-17.html" target="_top">Frames</a></li>
+<li><a href="index-17.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-18.html b/MyTetris/doc/index-files/index-18.html
new file mode 100644
index 0000000..663eef2
--- /dev/null
+++ b/MyTetris/doc/index-files/index-18.html
@@ -0,0 +1,140 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>T-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="T-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-17.html">Prev Letter</a></li>
+<li><a href="index-19.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-18.html" target="_top">Frames</a></li>
+<li><a href="index-18.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_T_">
+<!--   -->
+</a>
+<h2 class="title">T</h2>
+<dl>
+<dt><a href="../tetris/package-summary.html">tetris</a> - package tetris</dt>
+<dd>&nbsp;</dd>
+<dt><a href="../tetris/TetrisGame.html" title="class in tetris"><span class="strong">TetrisGame</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The class is responsible for handling much of the game logic and reading user input.</div>
+</dd>
+<dt><a href="../tetris/TetrisGame.saveListener.html" title="class in tetris"><span class="strong">TetrisGame.saveListener</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">Saving gamefield</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.saveListener.html#TetrisGame.saveListener()">TetrisGame.saveListener()</a></span> - Constructor for class tetris.<a href="../tetris/TetrisGame.saveListener.html" title="class in tetris">TetrisGame.saveListener</a></dt>
+<dd>&nbsp;</dd>
+<dt><a href="../tetris/Time.html" title="class in tetris"><span class="strong">Time</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The class is responsible for tracking the number of cycles that have elapsed.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#Time(float)">Time(float)</a></span> - Constructor for class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Creates a new clock and sets it's cycles-per-second.</div>
+</dd>
+<dt><a href="../tetris/Types.html" title="enum in tetris"><span class="strong">Types</span></a> - Enum in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The enum class is responsible for the properties of the various pieces that can be used in the game.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-17.html">Prev Letter</a></li>
+<li><a href="index-19.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-18.html" target="_top">Frames</a></li>
+<li><a href="index-18.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-19.html b/MyTetris/doc/index-files/index-19.html
new file mode 100644
index 0000000..68cd0da
--- /dev/null
+++ b/MyTetris/doc/index-files/index-19.html
@@ -0,0 +1,124 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>U-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="U-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-18.html">Prev Letter</a></li>
+<li><a href="index-20.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-19.html" target="_top">Frames</a></li>
+<li><a href="index-19.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_U_">
+<!--   -->
+</a>
+<h2 class="title">U</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#up()">up()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Updates the game and handles part of it's logic.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#update()">update()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Updates the clock stats.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-18.html">Prev Letter</a></li>
+<li><a href="index-20.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-19.html" target="_top">Frames</a></li>
+<li><a href="index-19.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-2.html b/MyTetris/doc/index-files/index-2.html
new file mode 100644
index 0000000..6b8055c
--- /dev/null
+++ b/MyTetris/doc/index-files/index-2.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>P-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="P-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-1.html">Prev Letter</a></li>
+<li><a href="index-3.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-2.html" target="_top">Frames</a></li>
+<li><a href="index-2.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;<a name="_P_">
+<!--   -->
+</a>
+<h2 class="title">P</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Time.html#pause()">pause()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">See if the clock is currently paused.</div>
+</dd>
+</dl>
+<a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-1.html">Prev Letter</a></li>
+<li><a href="index-3.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-2.html" target="_top">Frames</a></li>
+<li><a href="index-2.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-20.html b/MyTetris/doc/index-files/index-20.html
new file mode 100644
index 0000000..7f45684
--- /dev/null
+++ b/MyTetris/doc/index-files/index-20.html
@@ -0,0 +1,125 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>V-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="V-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-19.html">Prev Letter</a></li>
+<li><a href="index-21.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-20.html" target="_top">Frames</a></li>
+<li><a href="index-20.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_V_">
+<!--   -->
+</a>
+<h2 class="title">V</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Types.html#valueOf(java.lang.String)">valueOf(String)</a></span> - Static method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Returns the enum constant of this type with the specified name.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#values()">values()</a></span> - Static method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-19.html">Prev Letter</a></li>
+<li><a href="index-21.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-20.html" target="_top">Frames</a></li>
+<li><a href="index-20.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-21.html b/MyTetris/doc/index-files/index-21.html
new file mode 100644
index 0000000..f20f85e
--- /dev/null
+++ b/MyTetris/doc/index-files/index-21.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>W-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="W-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-20.html">Prev Letter</a></li>
+<li>Next Letter</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-21.html" target="_top">Frames</a></li>
+<li><a href="index-21.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_W_">
+<!--   -->
+</a>
+<h2 class="title">W</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#W">W</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Files.html#writeSave(int,%20int,%20int)">writeSave(int, int, int)</a></span> - Method in class tetris.<a href="../tetris/Files.html" title="class in tetris">Files</a></dt>
+<dd>&nbsp;</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-20.html">Prev Letter</a></li>
+<li>Next Letter</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-21.html" target="_top">Frames</a></li>
+<li><a href="index-21.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-3.html b/MyTetris/doc/index-files/index-3.html
new file mode 100644
index 0000000..63ad444
--- /dev/null
+++ b/MyTetris/doc/index-files/index-3.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>S-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="S-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-2.html">Prev Letter</a></li>
+<li><a href="index-4.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-3.html" target="_top">Frames</a></li>
+<li><a href="index-3.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;<a name="_S_">
+<!--   -->
+</a>
+<h2 class="title">S</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Time.html#setCycles(float)">setCycles(float)</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Number of cycles that elapse per second.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#setPause(boolean)">setPause(boolean)</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Pauses or unpauses the timer.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#setTime()">setTime()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Resets the timer stats.</div>
+</dd>
+</dl>
+<a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-2.html">Prev Letter</a></li>
+<li><a href="index-4.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-3.html" target="_top">Frames</a></li>
+<li><a href="index-3.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-4.html b/MyTetris/doc/index-files/index-4.html
new file mode 100644
index 0000000..75560a2
--- /dev/null
+++ b/MyTetris/doc/index-files/index-4.html
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>T-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="T-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-3.html">Prev Letter</a></li>
+<li><a href="index-5.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-4.html" target="_top">Frames</a></li>
+<li><a href="index-4.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;<a name="_T_">
+<!--   -->
+</a>
+<h2 class="title">T</h2>
+<dl>
+<dt><a href="../tetris/package-summary.html">tetris</a> - package tetris</dt>
+<dd>&nbsp;</dd>
+<dt><a href="../tetris/Time.html" title="class in tetris"><span class="strong">Time</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The class is responsible for tracking the number of cycles that have elapsed.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Time.html#Time(float)">Time(float)</a></span> - Constructor for class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Creates a new clock and sets it's cycles-per-second.</div>
+</dd>
+</dl>
+<a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-3.html">Prev Letter</a></li>
+<li><a href="index-5.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-4.html" target="_top">Frames</a></li>
+<li><a href="index-4.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-5.html b/MyTetris/doc/index-files/index-5.html
new file mode 100644
index 0000000..7762e43
--- /dev/null
+++ b/MyTetris/doc/index-files/index-5.html
@@ -0,0 +1,120 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>U-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="U-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-4.html">Prev Letter</a></li>
+<li>Next Letter</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-5.html" target="_top">Frames</a></li>
+<li><a href="index-5.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;<a name="_U_">
+<!--   -->
+</a>
+<h2 class="title">U</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Time.html#update()">update()</a></span> - Method in class tetris.<a href="../tetris/Time.html" title="class in tetris">Time</a></dt>
+<dd>
+<div class="block">Updates the clock stats.</div>
+</dd>
+</dl>
+<a href="index-1.html">E</a>&nbsp;<a href="index-2.html">P</a>&nbsp;<a href="index-3.html">S</a>&nbsp;<a href="index-4.html">T</a>&nbsp;<a href="index-5.html">U</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../overview-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-4.html">Prev Letter</a></li>
+<li>Next Letter</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-5.html" target="_top">Frames</a></li>
+<li><a href="index-5.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-6.html b/MyTetris/doc/index-files/index-6.html
new file mode 100644
index 0000000..7870bfc
--- /dev/null
+++ b/MyTetris/doc/index-files/index-6.html
@@ -0,0 +1,124 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>F-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="F-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-5.html">Prev Letter</a></li>
+<li><a href="index-7.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-6.html" target="_top">Frames</a></li>
+<li><a href="index-6.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_F_">
+<!--   -->
+</a>
+<h2 class="title">F</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#file">file</a></span> - Variable in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>&nbsp;</dd>
+<dt><a href="../tetris/Files.html" title="class in tetris"><span class="strong">Files</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Files.html#Files()">Files()</a></span> - Constructor for class tetris.<a href="../tetris/Files.html" title="class in tetris">Files</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#frame">frame</a></span> - Variable in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>&nbsp;</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-5.html">Prev Letter</a></li>
+<li><a href="index-7.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-6.html" target="_top">Frames</a></li>
+<li><a href="index-6.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-7.html b/MyTetris/doc/index-files/index-7.html
new file mode 100644
index 0000000..697aa06
--- /dev/null
+++ b/MyTetris/doc/index-files/index-7.html
@@ -0,0 +1,210 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>G-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="G-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-6.html">Prev Letter</a></li>
+<li><a href="index-8.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-7.html" target="_top">Frames</a></li>
+<li><a href="index-7.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_G_">
+<!--   -->
+</a>
+<h2 class="title">G</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Configuration.html#game">game</a></span> - Static variable in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#gameOver()">gameOver()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Checks to see whether or not the game is over.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getBaseColor()">getBaseColor()</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Gets the base color of this type.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getBottomInset(int)">getBottomInset(int)</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">The botom inset is represented by the number of empty rows on the bottom side.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getCol()">getCol()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getDarkColor()">getDarkColor()</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Gets the dark color of this type.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getDimension()">getDimension()</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Gets the dimension of this type.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getEnumType()">getEnumType()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getId()">getId()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Configuration.html#getKeyNames()">getKeyNames()</a></span> - Static method in class tetris.<a href="../tetris/Configuration.html" title="class in tetris">Configuration</a></dt>
+<dd>
+<div class="block">Array of lines</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getLeftInset(int)">getLeftInset(int)</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">The left inset is represented by the number of empty columns on the left side.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getLevel()">getLevel()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the current level.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getLightColor()">getLightColor()</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Gets the light color of this type.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getNextPieceType()">getNextPieceType()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the current type of piece we'll use.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getNumber()">getNumber()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getPanel()">getPanel()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getPieceCol()">getPieceCol()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the column of the current piece.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getPieceRotate()">getPieceRotate()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the rotation of the current piece.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getPieceRow()">getPieceRow()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the row of the current piece.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getPieceType()">getPieceType()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the current type of piece we're using.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getRightInset(int)">getRightInset(int)</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">The right inset is represented by the number of empty columns on the right side.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getRotate()">getRotate()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getRow()">getRow()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/TetrisGame.html#getScore()">getScore()</a></span> - Method in class tetris.<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dt>
+<dd>
+<div class="block">Gets the current score.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getSpawnColumn()">getSpawnColumn()</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Gets the spawn column of this type.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getSpawnRow()">getSpawnRow()</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Gets the spawn row of this type.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#getTopInset(int)">getTopInset(int)</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">The top inset is represented by the number of empty rows on the top side.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Notation.html#getType()">getType()</a></span> - Method in class tetris.<a href="../tetris/Notation.html" title="class in tetris">Notation</a></dt>
+<dd>&nbsp;</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-6.html">Prev Letter</a></li>
+<li><a href="index-8.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-7.html" target="_top">Frames</a></li>
+<li><a href="index-7.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-8.html b/MyTetris/doc/index-files/index-8.html
new file mode 100644
index 0000000..e1c4c1a
--- /dev/null
+++ b/MyTetris/doc/index-files/index-8.html
@@ -0,0 +1,128 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>I-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="I-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-7.html">Prev Letter</a></li>
+<li><a href="index-9.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-8.html" target="_top">Frames</a></li>
+<li><a href="index-8.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_I_">
+<!--   -->
+</a>
+<h2 class="title">I</h2>
+<dl>
+<dt><span class="strong"><a href="../tetris/Panel.html#isBusy(int,%20int)">isBusy(int, int)</a></span> - Method in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>
+<div class="block">Checks to see if the tile is already occupied.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#isBusy1(int,%20int)">isBusy1(int, int)</a></span> - Method in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#isBusy2(int,%20int)">isBusy2(int, int)</a></span> - Method in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Panel.html#isEmpty(tetris.Types,%20int,%20int,%20int)">isEmpty(Types, int, int, int)</a></span> - Method in class tetris.<a href="../tetris/Panel.html" title="class in tetris">Panel</a></dt>
+<dd>
+<div class="block">Determines whether or not a piece can be placed at the coordinates.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-7.html">Prev Letter</a></li>
+<li><a href="index-9.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-8.html" target="_top">Frames</a></li>
+<li><a href="index-8.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index-files/index-9.html b/MyTetris/doc/index-files/index-9.html
new file mode 100644
index 0000000..41f3e86
--- /dev/null
+++ b/MyTetris/doc/index-files/index-9.html
@@ -0,0 +1,130 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>K-Index</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="K-Index";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-8.html">Prev Letter</a></li>
+<li><a href="index-10.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-9.html" target="_top">Frames</a></li>
+<li><a href="index-9.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="contentContainer"><a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;<a name="_K_">
+<!--   -->
+</a>
+<h2 class="title">K</h2>
+<dl>
+<dt><a href="../tetris/KeyGetter.html" title="class in tetris"><span class="strong">KeyGetter</span></a> - Class in <a href="../tetris/package-summary.html">tetris</a></dt>
+<dd>
+<div class="block">The class is responsible for keys in the game.</div>
+</dd>
+<dt><span class="strong"><a href="../tetris/KeyGetter.html#KeyGetter()">KeyGetter()</a></span> - Constructor for class tetris.<a href="../tetris/KeyGetter.html" title="class in tetris">KeyGetter</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/KeyGetter.html#keyNames">keyNames</a></span> - Static variable in class tetris.<a href="../tetris/KeyGetter.html" title="class in tetris">KeyGetter</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/KeyGetter.html#keys">keys</a></span> - Static variable in class tetris.<a href="../tetris/KeyGetter.html" title="class in tetris">KeyGetter</a></dt>
+<dd>&nbsp;</dd>
+<dt><span class="strong"><a href="../tetris/Types.html#kind_of_type(int,%20int,%20int)">kind_of_type(int, int, int)</a></span> - Method in enum tetris.<a href="../tetris/Types.html" title="enum in tetris">Types</a></dt>
+<dd>
+<div class="block">Checks to see if the given coordinates and rotation contain a tile.</div>
+</dd>
+</dl>
+<a href="index-1.html">A</a>&nbsp;<a href="index-2.html">B</a>&nbsp;<a href="index-3.html">C</a>&nbsp;<a href="index-4.html">D</a>&nbsp;<a href="index-5.html">E</a>&nbsp;<a href="index-6.html">F</a>&nbsp;<a href="index-7.html">G</a>&nbsp;<a href="index-8.html">I</a>&nbsp;<a href="index-9.html">K</a>&nbsp;<a href="index-10.html">L</a>&nbsp;<a href="index-11.html">M</a>&nbsp;<a href="index-12.html">N</a>&nbsp;<a href="index-13.html">O</a>&nbsp;<a href="index-14.html">P</a>&nbsp;<a href="index-15.html">Q</a>&nbsp;<a href="index-16.html">R</a>&nbsp;<a href="index-17.html">S</a>&nbsp;<a href="index-18.html">T</a>&nbsp;<a href="index-19.html">U</a>&nbsp;<a href="index-20.html">V</a>&nbsp;<a href="index-21.html">W</a>&nbsp;</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="../tetris/package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li class="navBarCell1Rev">Index</li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="index-8.html">Prev Letter</a></li>
+<li><a href="index-10.html">Next Letter</a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?index-filesindex-9.html" target="_top">Frames</a></li>
+<li><a href="index-9.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/index.html b/MyTetris/doc/index.html
new file mode 100644
index 0000000..568a352
--- /dev/null
+++ b/MyTetris/doc/index.html
@@ -0,0 +1,71 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc on Sun May 15 15:44:23 EET 2016 -->
+<title>Generated Documentation (Untitled)</title>
+<script type="text/javascript">
+    targetPage = "" + window.location.search;
+    if (targetPage != "" && targetPage != "undefined")
+        targetPage = targetPage.substring(1);
+    if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
+        targetPage = "undefined";
+    function validURL(url) {
+        try {
+            url = decodeURIComponent(url);
+        }
+        catch (error) {
+            return false;
+        }
+        var pos = url.indexOf(".html");
+        if (pos == -1 || pos != url.length - 5)
+            return false;
+        var allowNumber = false;
+        var allowSep = false;
+        var seenDot = false;
+        for (var i = 0; i < url.length - 5; i++) {
+            var ch = url.charAt(i);
+            if ('a' <= ch && ch <= 'z' ||
+                    'A' <= ch && ch <= 'Z' ||
+                    ch == '$' ||
+                    ch == '_' ||
+                    ch.charCodeAt(0) > 127) {
+                allowNumber = true;
+                allowSep = true;
+            } else if ('0' <= ch && ch <= '9'
+                    || ch == '-') {
+                if (!allowNumber)
+                     return false;
+            } else if (ch == '/' || ch == '.') {
+                if (!allowSep)
+                    return false;
+                allowNumber = false;
+                allowSep = false;
+                if (ch == '.')
+                     seenDot = true;
+                if (ch == '/' && seenDot)
+                     return false;
+            } else {
+                return false;
+            }
+        }
+        return true;
+    }
+    function loadFrames() {
+        if (targetPage != "" && targetPage != "undefined")
+             top.classFrame.location = top.targetPage;
+    }
+</script>
+</head>
+<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
+<frame src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
+<frame src="tetris/package-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
+<noframes>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<h2>Frame Alert</h2>
+<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="tetris/package-summary.html">Non-frame version</a>.</p>
+</noframes>
+</frameset>
+</html>
diff --git a/MyTetris/doc/overview-tree.html b/MyTetris/doc/overview-tree.html
new file mode 100644
index 0000000..ea30997
--- /dev/null
+++ b/MyTetris/doc/overview-tree.html
@@ -0,0 +1,126 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>Class Hierarchy</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Class Hierarchy";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li class="navBarCell1Rev">Tree</li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
+<li><a href="overview-tree.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 class="title">Hierarchy For All Packages</h1>
+<span class="strong">Package Hierarchies:</span>
+<ul class="horizontal">
+<li><a href="tetris/package-tree.html">tetris</a></li>
+</ul>
+</div>
+<div class="contentContainer">
+<h2 title="Class Hierarchy">Class Hierarchy</h2>
+<ul>
+<li type="circle">java.lang.Object
+<ul>
+<li type="circle">tetris.<a href="tetris/Time.html" title="class in tetris"><span class="strong">Time</span></a></li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li class="navBarCell1Rev">Tree</li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?overview-tree.html" target="_top">Frames</a></li>
+<li><a href="overview-tree.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/package-list b/MyTetris/doc/package-list
new file mode 100644
index 0000000..a8320cc
--- /dev/null
+++ b/MyTetris/doc/package-list
@@ -0,0 +1 @@
+tetris
diff --git a/MyTetris/doc/resources/background.gif b/MyTetris/doc/resources/background.gif
new file mode 100644
index 0000000..f471940
--- /dev/null
+++ b/MyTetris/doc/resources/background.gif
Binary files differ
diff --git a/MyTetris/doc/resources/tab.gif b/MyTetris/doc/resources/tab.gif
new file mode 100644
index 0000000..1a73a83
--- /dev/null
+++ b/MyTetris/doc/resources/tab.gif
Binary files differ
diff --git a/MyTetris/doc/resources/titlebar.gif b/MyTetris/doc/resources/titlebar.gif
new file mode 100644
index 0000000..17443b3
--- /dev/null
+++ b/MyTetris/doc/resources/titlebar.gif
Binary files differ
diff --git a/MyTetris/doc/resources/titlebar_end.gif b/MyTetris/doc/resources/titlebar_end.gif
new file mode 100644
index 0000000..3ad78d4
--- /dev/null
+++ b/MyTetris/doc/resources/titlebar_end.gif
Binary files differ
diff --git a/MyTetris/doc/serialized-form.html b/MyTetris/doc/serialized-form.html
new file mode 100644
index 0000000..ebe41b4
--- /dev/null
+++ b/MyTetris/doc/serialized-form.html
@@ -0,0 +1,169 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Serialized Form</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Serialized Form";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="tetris/package-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
+<li><a href="serialized-form.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 title="Serialized Form" class="title">Serialized Form</h1>
+</div>
+<div class="serializedFormContainer">
+<ul class="blockList">
+<li class="blockList">
+<h2 title="Package">Package&nbsp;tetris</h2>
+<ul class="blockList">
+<li class="blockList"><a name="tetris.Panel">
+<!--   -->
+</a>
+<h3>Class <a href="tetris/Panel.html" title="class in tetris">tetris.Panel</a> extends javax.swing.JPanel implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>0L</dd>
+</dl>
+<ul class="blockList">
+<li class="blockList"><a name="serializedForm">
+<!--   -->
+</a>
+<h3>Serialized Fields</h3>
+<ul class="blockList">
+<li class="blockList">
+<h4>tetris</h4>
+<pre><a href="tetris/TetrisGame.html" title="class in tetris">TetrisGame</a> tetris</pre>
+</li>
+<li class="blockListLast">
+<h4>tiles</h4>
+<pre><a href="tetris/Types.html" title="enum in tetris">Types</a>[][] tiles</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li class="blockList"><a name="tetris.Panels">
+<!--   -->
+</a>
+<h3>Class <a href="tetris/Panels.html" title="class in tetris">tetris.Panels</a> extends javax.swing.JPanel implements Serializable</h3>
+<dl class="nameValue">
+<dt>serialVersionUID:</dt>
+<dd>0L</dd>
+</dl>
+<ul class="blockList">
+<li class="blockList"><a name="serializedForm">
+<!--   -->
+</a>
+<h3>Serialized Fields</h3>
+<ul class="blockList">
+<li class="blockListLast">
+<h4>tetris</h4>
+<pre><a href="tetris/TetrisGame.html" title="class in tetris">TetrisGame</a> tetris</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li><a href="tetris/package-tree.html">Tree</a></li>
+<li><a href="deprecated-list.html">Deprecated</a></li>
+<li><a href="index-files/index-1.html">Index</a></li>
+<li><a href="help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="index.html?serialized-form.html" target="_top">Frames</a></li>
+<li><a href="serialized-form.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/stylesheet.css b/MyTetris/doc/stylesheet.css
new file mode 100644
index 0000000..0aeaa97
--- /dev/null
+++ b/MyTetris/doc/stylesheet.css
@@ -0,0 +1,474 @@
+/* Javadoc style sheet */
+/*
+Overall document style
+*/
+body {
+    background-color:#ffffff;
+    color:#353833;
+    font-family:Arial, Helvetica, sans-serif;
+    font-size:76%;
+    margin:0;
+}
+a:link, a:visited {
+    text-decoration:none;
+    color:#4c6b87;
+}
+a:hover, a:focus {
+    text-decoration:none;
+    color:#bb7a2a;
+}
+a:active {
+    text-decoration:none;
+    color:#4c6b87;
+}
+a[name] {
+    color:#353833;
+}
+a[name]:hover {
+    text-decoration:none;
+    color:#353833;
+}
+pre {
+    font-size:1.3em;
+}
+h1 {
+    font-size:1.8em;
+}
+h2 {
+    font-size:1.5em;
+}
+h3 {
+    font-size:1.4em;
+}
+h4 {
+    font-size:1.3em;
+}
+h5 {
+    font-size:1.2em;
+}
+h6 {
+    font-size:1.1em;
+}
+ul {
+    list-style-type:disc;
+}
+code, tt {
+    font-size:1.2em;
+}
+dt code {
+    font-size:1.2em;
+}
+table tr td dt code {
+    font-size:1.2em;
+    vertical-align:top;
+}
+sup {
+    font-size:.6em;
+}
+/*
+Document title and Copyright styles
+*/
+.clear {
+    clear:both;
+    height:0px;
+    overflow:hidden;
+}
+.aboutLanguage {
+    float:right;
+    padding:0px 21px;
+    font-size:.8em;
+    z-index:200;
+    margin-top:-7px;
+}
+.legalCopy {
+    margin-left:.5em;
+}
+.bar a, .bar a:link, .bar a:visited, .bar a:active {
+    color:#FFFFFF;
+    text-decoration:none;
+}
+.bar a:hover, .bar a:focus {
+    color:#bb7a2a;
+}
+.tab {
+    background-color:#0066FF;
+    background-image:url(resources/titlebar.gif);
+    background-position:left top;
+    background-repeat:no-repeat;
+    color:#ffffff;
+    padding:8px;
+    width:5em;
+    font-weight:bold;
+}
+/*
+Navigation bar styles
+*/
+.bar {
+    background-image:url(resources/background.gif);
+    background-repeat:repeat-x;
+    color:#FFFFFF;
+    padding:.8em .5em .4em .8em;
+    height:auto;/*height:1.8em;*/
+    font-size:1em;
+    margin:0;
+}
+.topNav {
+    background-image:url(resources/background.gif);
+    background-repeat:repeat-x;
+    color:#FFFFFF;
+    float:left;
+    padding:0;
+    width:100%;
+    clear:right;
+    height:2.8em;
+    padding-top:10px;
+    overflow:hidden;
+}
+.bottomNav {
+    margin-top:10px;
+    background-image:url(resources/background.gif);
+    background-repeat:repeat-x;
+    color:#FFFFFF;
+    float:left;
+    padding:0;
+    width:100%;
+    clear:right;
+    height:2.8em;
+    padding-top:10px;
+    overflow:hidden;
+}
+.subNav {
+    background-color:#dee3e9;
+    border-bottom:1px solid #9eadc0;
+    float:left;
+    width:100%;
+    overflow:hidden;
+}
+.subNav div {
+    clear:left;
+    float:left;
+    padding:0 0 5px 6px;
+}
+ul.navList, ul.subNavList {
+    float:left;
+    margin:0 25px 0 0;
+    padding:0;
+}
+ul.navList li{
+    list-style:none;
+    float:left;
+    padding:3px 6px;
+}
+ul.subNavList li{
+    list-style:none;
+    float:left;
+    font-size:90%;
+}
+.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
+    color:#FFFFFF;
+    text-decoration:none;
+}
+.topNav a:hover, .bottomNav a:hover {
+    text-decoration:none;
+    color:#bb7a2a;
+}
+.navBarCell1Rev {
+    background-image:url(resources/tab.gif);
+    background-color:#a88834;
+    color:#FFFFFF;
+    margin: auto 5px;
+    border:1px solid #c9aa44;
+}
+/*
+Page header and footer styles
+*/
+.header, .footer {
+    clear:both;
+    margin:0 20px;
+    padding:5px 0 0 0;
+}
+.indexHeader {
+    margin:10px;
+    position:relative;
+}
+.indexHeader h1 {
+    font-size:1.3em;
+}
+.title {
+    color:#2c4557;
+    margin:10px 0;
+}
+.subTitle {
+    margin:5px 0 0 0;
+}
+.header ul {
+    margin:0 0 25px 0;
+    padding:0;
+}
+.footer ul {
+    margin:20px 0 5px 0;
+}
+.header ul li, .footer ul li {
+    list-style:none;
+    font-size:1.2em;
+}
+/*
+Heading styles
+*/
+div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
+    background-color:#dee3e9;
+    border-top:1px solid #9eadc0;
+    border-bottom:1px solid #9eadc0;
+    margin:0 0 6px -8px;
+    padding:2px 5px;
+}
+ul.blockList ul.blockList ul.blockList li.blockList h3 {
+    background-color:#dee3e9;
+    border-top:1px solid #9eadc0;
+    border-bottom:1px solid #9eadc0;
+    margin:0 0 6px -8px;
+    padding:2px 5px;
+}
+ul.blockList ul.blockList li.blockList h3 {
+    padding:0;
+    margin:15px 0;
+}
+ul.blockList li.blockList h2 {
+    padding:0px 0 20px 0;
+}
+/*
+Page layout container styles
+*/
+.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer {
+    clear:both;
+    padding:10px 20px;
+    position:relative;
+}
+.indexContainer {
+    margin:10px;
+    position:relative;
+    font-size:1.0em;
+}
+.indexContainer h2 {
+    font-size:1.1em;
+    padding:0 0 3px 0;
+}
+.indexContainer ul {
+    margin:0;
+    padding:0;
+}
+.indexContainer ul li {
+    list-style:none;
+}
+.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
+    font-size:1.1em;
+    font-weight:bold;
+    margin:10px 0 0 0;
+    color:#4E4E4E;
+}
+.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
+    margin:10px 0 10px 20px;
+}
+.serializedFormContainer dl.nameValue dt {
+    margin-left:1px;
+    font-size:1.1em;
+    display:inline;
+    font-weight:bold;
+}
+.serializedFormContainer dl.nameValue dd {
+    margin:0 0 0 1px;
+    font-size:1.1em;
+    display:inline;
+}
+/*
+List styles
+*/
+ul.horizontal li {
+    display:inline;
+    font-size:0.9em;
+}
+ul.inheritance {
+    margin:0;
+    padding:0;
+}
+ul.inheritance li {
+    display:inline;
+    list-style:none;
+}
+ul.inheritance li ul.inheritance {
+    margin-left:15px;
+    padding-left:15px;
+    padding-top:1px;
+}
+ul.blockList, ul.blockListLast {
+    margin:10px 0 10px 0;
+    padding:0;
+}
+ul.blockList li.blockList, ul.blockListLast li.blockList {
+    list-style:none;
+    margin-bottom:25px;
+}
+ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
+    padding:0px 20px 5px 10px;
+    border:1px solid #9eadc0;
+    background-color:#f9f9f9;
+}
+ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
+    padding:0 0 5px 8px;
+    background-color:#ffffff;
+    border:1px solid #9eadc0;
+    border-top:none;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
+    margin-left:0;
+    padding-left:0;
+    padding-bottom:15px;
+    border:none;
+    border-bottom:1px solid #9eadc0;
+}
+ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
+    list-style:none;
+    border-bottom:none;
+    padding-bottom:0;
+}
+table tr td dl, table tr td dl dt, table tr td dl dd {
+    margin-top:0;
+    margin-bottom:1px;
+}
+/*
+Table styles
+*/
+.contentContainer table, .classUseContainer table, .constantValuesContainer table {
+    border-bottom:1px solid #9eadc0;
+    width:100%;
+}
+.contentContainer ul li table, .classUseContainer ul li table, .constantValuesContainer ul li table {
+    width:100%;
+}
+.contentContainer .description table, .contentContainer .details table {
+    border-bottom:none;
+}
+.contentContainer ul li table th.colOne, .contentContainer ul li table th.colFirst, .contentContainer ul li table th.colLast, .classUseContainer ul li table th, .constantValuesContainer ul li table th, .contentContainer ul li table td.colOne, .contentContainer ul li table td.colFirst, .contentContainer ul li table td.colLast, .classUseContainer ul li table td, .constantValuesContainer ul li table td{
+    vertical-align:top;
+    padding-right:20px;
+}
+.contentContainer ul li table th.colLast, .classUseContainer ul li table th.colLast,.constantValuesContainer ul li table th.colLast,
+.contentContainer ul li table td.colLast, .classUseContainer ul li table td.colLast,.constantValuesContainer ul li table td.colLast,
+.contentContainer ul li table th.colOne, .classUseContainer ul li table th.colOne,
+.contentContainer ul li table td.colOne, .classUseContainer ul li table td.colOne {
+    padding-right:3px;
+}
+.overviewSummary caption, .packageSummary caption, .contentContainer ul.blockList li.blockList caption, .summary caption, .classUseContainer caption, .constantValuesContainer caption {
+    position:relative;
+    text-align:left;
+    background-repeat:no-repeat;
+    color:#FFFFFF;
+    font-weight:bold;
+    clear:none;
+    overflow:hidden;
+    padding:0px;
+    margin:0px;
+}
+caption a:link, caption a:hover, caption a:active, caption a:visited {
+    color:#FFFFFF;
+}
+.overviewSummary caption span, .packageSummary caption span, .contentContainer ul.blockList li.blockList caption span, .summary caption span, .classUseContainer caption span, .constantValuesContainer caption span {
+    white-space:nowrap;
+    padding-top:8px;
+    padding-left:8px;
+    display:block;
+    float:left;
+    background-image:url(resources/titlebar.gif);
+    height:18px;
+}
+.overviewSummary .tabEnd, .packageSummary .tabEnd, .contentContainer ul.blockList li.blockList .tabEnd, .summary .tabEnd, .classUseContainer .tabEnd, .constantValuesContainer .tabEnd {
+    width:10px;
+    background-image:url(resources/titlebar_end.gif);
+    background-repeat:no-repeat;
+    background-position:top right;
+    position:relative;
+    float:left;
+}
+ul.blockList ul.blockList li.blockList table {
+    margin:0 0 12px 0px;
+    width:100%;
+}
+.tableSubHeadingColor {
+    background-color: #EEEEFF;
+}
+.altColor {
+    background-color:#eeeeef;
+}
+.rowColor {
+    background-color:#ffffff;
+}
+.overviewSummary td, .packageSummary td, .contentContainer ul.blockList li.blockList td, .summary td, .classUseContainer td, .constantValuesContainer td {
+    text-align:left;
+    padding:3px 3px 3px 7px;
+}
+th.colFirst, th.colLast, th.colOne, .constantValuesContainer th {
+    background:#dee3e9;
+    border-top:1px solid #9eadc0;
+    border-bottom:1px solid #9eadc0;
+    text-align:left;
+    padding:3px 3px 3px 7px;
+}
+td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover {
+    font-weight:bold;
+}
+td.colFirst, th.colFirst {
+    border-left:1px solid #9eadc0;
+    white-space:nowrap;
+}
+td.colLast, th.colLast {
+    border-right:1px solid #9eadc0;
+}
+td.colOne, th.colOne {
+    border-right:1px solid #9eadc0;
+    border-left:1px solid #9eadc0;
+}
+table.overviewSummary  {
+    padding:0px;
+    margin-left:0px;
+}
+table.overviewSummary td.colFirst, table.overviewSummary th.colFirst,
+table.overviewSummary td.colOne, table.overviewSummary th.colOne {
+    width:25%;
+    vertical-align:middle;
+}
+table.packageSummary td.colFirst, table.overviewSummary th.colFirst {
+    width:25%;
+    vertical-align:middle;
+}
+/*
+Content styles
+*/
+.description pre {
+    margin-top:0;
+}
+.deprecatedContent {
+    margin:0;
+    padding:10px 0;
+}
+.docSummary {
+    padding:0;
+}
+/*
+Formatting effect styles
+*/
+.sourceLineNo {
+    color:green;
+    padding:0 30px 0 0;
+}
+h1.hidden {
+    visibility:hidden;
+    overflow:hidden;
+    font-size:.9em;
+}
+.block {
+    display:block;
+    margin:3px 0 0 0;
+}
+.strong {
+    font-weight:bold;
+}
diff --git a/MyTetris/doc/tetris/Configuration.html b/MyTetris/doc/tetris/Configuration.html
new file mode 100644
index 0000000..9e7b466
--- /dev/null
+++ b/MyTetris/doc/tetris/Configuration.html
@@ -0,0 +1,521 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:30 EET 2016 -->
+<title>Configuration</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Configuration";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Configuration.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li><a href="../tetris/Files.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Configuration.html" target="_top">Frames</a></li>
+<li><a href="Configuration.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class Configuration" class="title">Class Configuration</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Configuration</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">Configuration</span>
+extends java.lang.Object</pre>
+<div class="block">The class is responsible for choosing keys for the game.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#A">A</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#D">D</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#down">down</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#E">E</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#game">game</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#left">left</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#pause">pause</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#Q">Q</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#R">R</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#right">right</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#rotateLeft">rotateLeft</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#rotateRight">rotateRight</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#S">S</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.lang.String</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#W">W</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Configuration.html#Configuration()">Configuration</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.awt.Choice</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#addChoice(java.lang.String,%20javax.swing.JFrame,%20int,%20int)">addChoice</a></strong>(java.lang.String&nbsp;name,
+         javax.swing.JFrame&nbsp;options,
+         int&nbsp;x,
+         int&nbsp;y)</code>
+<div class="block">Set properties for windows</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.util.ArrayList&lt;java.lang.String&gt;</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#getKeyNames()">getKeyNames</a></strong>()</code>
+<div class="block">Array of lines</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#openConfig(javax.swing.JFrame)">openConfig</a></strong>(javax.swing.JFrame&nbsp;frame)</code>
+<div class="block">Set the properties of the window, determine the position of the buttons, adds a controller
+ listener.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Configuration.html#saveChanges()">saveChanges</a></strong>()</code>
+<div class="block">Save our choose for this game.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="rotateLeft">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>rotateLeft</h4>
+<pre>public static&nbsp;java.lang.String rotateLeft</pre>
+</li>
+</ul>
+<a name="rotateRight">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>rotateRight</h4>
+<pre>public static&nbsp;java.lang.String rotateRight</pre>
+</li>
+</ul>
+<a name="left">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>left</h4>
+<pre>public static&nbsp;java.lang.String left</pre>
+</li>
+</ul>
+<a name="right">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>right</h4>
+<pre>public static&nbsp;java.lang.String right</pre>
+</li>
+</ul>
+<a name="down">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>down</h4>
+<pre>public static&nbsp;java.lang.String down</pre>
+</li>
+</ul>
+<a name="pause">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>pause</h4>
+<pre>public static&nbsp;java.lang.String pause</pre>
+</li>
+</ul>
+<a name="game">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>game</h4>
+<pre>public static&nbsp;java.lang.String game</pre>
+</li>
+</ul>
+<a name="A">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>A</h4>
+<pre>public static&nbsp;java.lang.String A</pre>
+</li>
+</ul>
+<a name="D">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>D</h4>
+<pre>public static&nbsp;java.lang.String D</pre>
+</li>
+</ul>
+<a name="S">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>S</h4>
+<pre>public static&nbsp;java.lang.String S</pre>
+</li>
+</ul>
+<a name="Q">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Q</h4>
+<pre>public static&nbsp;java.lang.String Q</pre>
+</li>
+</ul>
+<a name="W">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>W</h4>
+<pre>public static&nbsp;java.lang.String W</pre>
+</li>
+</ul>
+<a name="E">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>E</h4>
+<pre>public static&nbsp;java.lang.String E</pre>
+</li>
+</ul>
+<a name="R">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>R</h4>
+<pre>public static&nbsp;java.lang.String R</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Configuration()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Configuration</h4>
+<pre>public&nbsp;Configuration()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="openConfig(javax.swing.JFrame)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>openConfig</h4>
+<pre>public static&nbsp;void&nbsp;openConfig(javax.swing.JFrame&nbsp;frame)</pre>
+<div class="block">Set the properties of the window, determine the position of the buttons, adds a controller
+ listener.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>frame</code> - The Frame.</dd></dl>
+</li>
+</ul>
+<a name="saveChanges()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>saveChanges</h4>
+<pre>public static&nbsp;void&nbsp;saveChanges()</pre>
+<div class="block">Save our choose for this game.</div>
+</li>
+</ul>
+<a name="addChoice(java.lang.String, javax.swing.JFrame, int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addChoice</h4>
+<pre>public static&nbsp;java.awt.Choice&nbsp;addChoice(java.lang.String&nbsp;name,
+                        javax.swing.JFrame&nbsp;options,
+                        int&nbsp;x,
+                        int&nbsp;y)</pre>
+<div class="block">Set properties for windows</div>
+</li>
+</ul>
+<a name="getKeyNames()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getKeyNames</h4>
+<pre>public static&nbsp;java.util.ArrayList&lt;java.lang.String&gt;&nbsp;getKeyNames()</pre>
+<div class="block">Array of lines</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The ArrayList<String>.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Configuration.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li><a href="../tetris/Files.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Configuration.html" target="_top">Frames</a></li>
+<li><a href="Configuration.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/Files.html b/MyTetris/doc/tetris/Files.html
new file mode 100644
index 0000000..6f4dcf3
--- /dev/null
+++ b/MyTetris/doc/tetris/Files.html
@@ -0,0 +1,271 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:30 EET 2016 -->
+<title>Files</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Files";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Files.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Configuration.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/KeyGetter.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Files.html" target="_top">Frames</a></li>
+<li><a href="Files.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class Files" class="title">Class Files</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Files</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">Files</span>
+extends java.lang.Object</pre>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Files.html#Files()">Files</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.lang.String[]</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Files.html#readSave(java.lang.String)">readSave</a></strong>(java.lang.String&nbsp;path)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Files.html#writeSave(int,%20int,%20int)">writeSave</a></strong>(int&nbsp;curCol,
+         int&nbsp;curRow,
+         int&nbsp;curRotate)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Files()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Files</h4>
+<pre>public&nbsp;Files()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="readSave(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>readSave</h4>
+<pre>public static&nbsp;java.lang.String[]&nbsp;readSave(java.lang.String&nbsp;path)</pre>
+</li>
+</ul>
+<a name="writeSave(int, int, int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>writeSave</h4>
+<pre>public&nbsp;void&nbsp;writeSave(int&nbsp;curCol,
+             int&nbsp;curRow,
+             int&nbsp;curRotate)</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Files.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Configuration.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/KeyGetter.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Files.html" target="_top">Frames</a></li>
+<li><a href="Files.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/KeyGetter.html b/MyTetris/doc/tetris/KeyGetter.html
new file mode 100644
index 0000000..8ec16fa
--- /dev/null
+++ b/MyTetris/doc/tetris/KeyGetter.html
@@ -0,0 +1,307 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:30 EET 2016 -->
+<title>KeyGetter</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="KeyGetter";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/KeyGetter.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Files.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Notation.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/KeyGetter.html" target="_top">Frames</a></li>
+<li><a href="KeyGetter.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class KeyGetter" class="title">Class KeyGetter</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.KeyGetter</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">KeyGetter</span>
+extends java.lang.Object</pre>
+<div class="block">The class is responsible for keys in the game.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static java.util.ArrayList&lt;java.lang.String&gt;</code></td>
+<td class="colLast"><code><strong><a href="../tetris/KeyGetter.html#keyNames">keyNames</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt;</code></td>
+<td class="colLast"><code><strong><a href="../tetris/KeyGetter.html#keys">keys</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/KeyGetter.html#KeyGetter()">KeyGetter</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/KeyGetter.html#loadKeys()">loadKeys</a></strong>()</code>
+<div class="block">Take keys from system.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="keys">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>keys</h4>
+<pre>public static&nbsp;java.util.HashMap&lt;java.lang.String,java.lang.Integer&gt; keys</pre>
+</li>
+</ul>
+<a name="keyNames">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>keyNames</h4>
+<pre>public static&nbsp;java.util.ArrayList&lt;java.lang.String&gt; keyNames</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="KeyGetter()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>KeyGetter</h4>
+<pre>public&nbsp;KeyGetter()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="loadKeys()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>loadKeys</h4>
+<pre>public static&nbsp;void&nbsp;loadKeys()</pre>
+<div class="block">Take keys from system.</div>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/KeyGetter.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Files.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Notation.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/KeyGetter.html" target="_top">Frames</a></li>
+<li><a href="KeyGetter.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/Notation.html b/MyTetris/doc/tetris/Notation.html
new file mode 100644
index 0000000..d05db68
--- /dev/null
+++ b/MyTetris/doc/tetris/Notation.html
@@ -0,0 +1,401 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:30 EET 2016 -->
+<title>Notation</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Notation";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Notation.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/KeyGetter.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Panel.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Notation.html" target="_top">Frames</a></li>
+<li><a href="Notation.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class Notation" class="title">Class Notation</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Notation</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">Notation</span>
+extends java.lang.Object</pre>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Notation.html#Notation(int,%20int,%20int,%20int,%20int,%20int)">Notation</a></strong>(int&nbsp;col,
+        int&nbsp;row,
+        int&nbsp;type,
+        int&nbsp;id,
+        int&nbsp;number,
+        int&nbsp;rotate)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../tetris/Notation.html#Notation(int,%20int,%20int,%20tetris.Types,%20boolean)">Notation</a></strong>(int&nbsp;col,
+        int&nbsp;row,
+        int&nbsp;rotate,
+        <a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;t,
+        boolean&nbsp;newFigure)</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getCol()">getCol</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getEnumType()">getEnumType</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getId()">getId</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getNumber()">getNumber</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getRotate()">getRotate</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getRow()">getRow</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#getType()">getType</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#setCol(int)">setCol</a></strong>(int&nbsp;col)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#setRotate(int)">setRotate</a></strong>(int&nbsp;rotate)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Notation.html#setRow(int)">setRow</a></strong>(int&nbsp;row)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Notation(int, int, int, int, int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Notation</h4>
+<pre>public&nbsp;Notation(int&nbsp;col,
+        int&nbsp;row,
+        int&nbsp;type,
+        int&nbsp;id,
+        int&nbsp;number,
+        int&nbsp;rotate)</pre>
+</li>
+</ul>
+<a name="Notation(int, int, int, tetris.Types, boolean)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Notation</h4>
+<pre>public&nbsp;Notation(int&nbsp;col,
+        int&nbsp;row,
+        int&nbsp;rotate,
+        <a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;t,
+        boolean&nbsp;newFigure)</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="getId()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getId</h4>
+<pre>public&nbsp;int&nbsp;getId()</pre>
+</li>
+</ul>
+<a name="getCol()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getCol</h4>
+<pre>public&nbsp;int&nbsp;getCol()</pre>
+</li>
+</ul>
+<a name="setCol(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCol</h4>
+<pre>public&nbsp;void&nbsp;setCol(int&nbsp;col)</pre>
+</li>
+</ul>
+<a name="getRow()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRow</h4>
+<pre>public&nbsp;int&nbsp;getRow()</pre>
+</li>
+</ul>
+<a name="setRow(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setRow</h4>
+<pre>public&nbsp;void&nbsp;setRow(int&nbsp;row)</pre>
+</li>
+</ul>
+<a name="getRotate()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRotate</h4>
+<pre>public&nbsp;int&nbsp;getRotate()</pre>
+</li>
+</ul>
+<a name="setRotate(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setRotate</h4>
+<pre>public&nbsp;void&nbsp;setRotate(int&nbsp;rotate)</pre>
+</li>
+</ul>
+<a name="getType()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getType</h4>
+<pre>public&nbsp;int&nbsp;getType()</pre>
+</li>
+</ul>
+<a name="getNumber()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getNumber</h4>
+<pre>public&nbsp;int&nbsp;getNumber()</pre>
+</li>
+</ul>
+<a name="getEnumType()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getEnumType</h4>
+<pre>public&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;getEnumType()</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Notation.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/KeyGetter.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Panel.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Notation.html" target="_top">Frames</a></li>
+<li><a href="Notation.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/Panel.html b/MyTetris/doc/tetris/Panel.html
new file mode 100644
index 0000000..2b7da15
--- /dev/null
+++ b/MyTetris/doc/tetris/Panel.html
@@ -0,0 +1,585 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:31 EET 2016 -->
+<title>Panel</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Panel";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Panel.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Notation.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Panels.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Panel.html" target="_top">Frames</a></li>
+<li><a href="Panel.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class Panel" class="title">Class Panel</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>java.awt.Component</li>
+<li>
+<ul class="inheritance">
+<li>java.awt.Container</li>
+<li>
+<ul class="inheritance">
+<li>javax.swing.JComponent</li>
+<li>
+<ul class="inheritance">
+<li>javax.swing.JPanel</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Panel</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible</dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">Panel</span>
+extends javax.swing.JPanel</pre>
+<div class="block">The class is responsible for displaying the game grid and handling things for the game board.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../serialized-form.html#tetris.Panel">Serialized Form</a></dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JComponent">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JComponent</h3>
+<code>javax.swing.JComponent.AccessibleJComponent</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
+<code>java.awt.Component.BaselineResizeBehavior</code></li>
+</ul>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#blockSize">blockSize</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#columns">columns</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#lines">lines</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#panelHeight">panelHeight</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#panelWidth">panelWidth</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_javax.swing.JComponent">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;javax.swing.JComponent</h3>
+<code>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;java.awt.Component</h3>
+<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
+<!--   -->
+</a>
+<h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
+<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Panel.html#Panel(tetris.TetrisGame)">Panel</a></strong>(<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a>&nbsp;tetris)</code>
+<div class="block">Crates a new gameBoard.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#addPiece(tetris.Types,%20int,%20int,%20int)">addPiece</a></strong>(<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;type,
+        int&nbsp;x,
+        int&nbsp;y,
+        int&nbsp;rotate)</code>
+<div class="block">Adds a piece to the game board.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#checkLines()">checkLines</a></strong>()</code>
+<div class="block">Checks the board to see if any lines have been cleared, and removes them.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#clear()">clear</a></strong>()</code>
+<div class="block">Resets the board and clears away any tiles.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#isBusy(int,%20int)">isBusy</a></strong>(int&nbsp;x,
+      int&nbsp;y)</code>
+<div class="block">Checks to see if the tile is already occupied.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#isBusy1(int,%20int)">isBusy1</a></strong>(int&nbsp;x,
+       int&nbsp;y)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#isBusy2(int,%20int)">isBusy2</a></strong>(int&nbsp;x,
+       int&nbsp;y)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#isEmpty(tetris.Types,%20int,%20int,%20int)">isEmpty</a></strong>(<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;type,
+       int&nbsp;x,
+       int&nbsp;y,
+       int&nbsp;rotate)</code>
+<div class="block">Determines whether or not a piece can be placed at the coordinates.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panel.html#paintComponent(java.awt.Graphics)">paintComponent</a></strong>(java.awt.Graphics&nbsp;g)</code>
+<div class="block">Draw the current tile and grid for best display.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JPanel">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;javax.swing.JPanel</h3>
+<code>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JComponent">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;javax.swing.JComponent</h3>
+<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.awt.Container</h3>
+<code>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.awt.Component</h3>
+<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="columns">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>columns</h4>
+<pre>public static final&nbsp;int columns</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#tetris.Panel.columns">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="lines">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>lines</h4>
+<pre>public static final&nbsp;int lines</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#tetris.Panel.lines">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="blockSize">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>blockSize</h4>
+<pre>public static final&nbsp;int blockSize</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#tetris.Panel.blockSize">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="panelWidth">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>panelWidth</h4>
+<pre>public static final&nbsp;int panelWidth</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#tetris.Panel.panelWidth">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+<a name="panelHeight">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>panelHeight</h4>
+<pre>public static final&nbsp;int panelHeight</pre>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../constant-values.html#tetris.Panel.panelHeight">Constant Field Values</a></dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Panel(tetris.TetrisGame)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Panel</h4>
+<pre>public&nbsp;Panel(<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a>&nbsp;tetris)</pre>
+<div class="block">Crates a new gameBoard.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tetris</code> - The tetris will use.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="clear()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>clear</h4>
+<pre>public&nbsp;void&nbsp;clear()</pre>
+<div class="block">Resets the board and clears away any tiles.</div>
+</li>
+</ul>
+<a name="isEmpty(tetris.Types, int, int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isEmpty</h4>
+<pre>public&nbsp;boolean&nbsp;isEmpty(<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;type,
+              int&nbsp;x,
+              int&nbsp;y,
+              int&nbsp;rotate)</pre>
+<div class="block">Determines whether or not a piece can be placed at the coordinates.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type of piece to use.</dd><dd><code>x</code> - The x coordinate of the piece.</dd><dd><code>y</code> - The y coordinate of the piece.</dd><dd><code>rotate</code> - The rotation of the piece.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>Whether or not the position is valid.</dd></dl>
+</li>
+</ul>
+<a name="addPiece(tetris.Types, int, int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>addPiece</h4>
+<pre>public&nbsp;void&nbsp;addPiece(<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;type,
+            int&nbsp;x,
+            int&nbsp;y,
+            int&nbsp;rotate)</pre>
+<div class="block">Adds a piece to the game board.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type of piece to place.</dd><dd><code>x</code> - The x coordinate of the piece.</dd><dd><code>y</code> - The y coordinate of the piece.</dd><dd><code>rotate</code> - The rotation of the piece.</dd></dl>
+</li>
+</ul>
+<a name="checkLines()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>checkLines</h4>
+<pre>public&nbsp;int&nbsp;checkLines()</pre>
+<div class="block">Checks the board to see if any lines have been cleared, and removes them.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The number of lines that were cleared.</dd></dl>
+</li>
+</ul>
+<a name="isBusy(int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isBusy</h4>
+<pre>public&nbsp;boolean&nbsp;isBusy(int&nbsp;x,
+             int&nbsp;y)</pre>
+<div class="block">Checks to see if the tile is already occupied.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The column.</dd><dd><code>y</code> - The row.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>Whether or not the tile is occupied.</dd></dl>
+</li>
+</ul>
+<a name="isBusy1(int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isBusy1</h4>
+<pre>public&nbsp;boolean&nbsp;isBusy1(int&nbsp;x,
+              int&nbsp;y)</pre>
+</li>
+</ul>
+<a name="isBusy2(int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>isBusy2</h4>
+<pre>public&nbsp;boolean&nbsp;isBusy2(int&nbsp;x,
+              int&nbsp;y)</pre>
+</li>
+</ul>
+<a name="paintComponent(java.awt.Graphics)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>paintComponent</h4>
+<pre>public&nbsp;void&nbsp;paintComponent(java.awt.Graphics&nbsp;g)</pre>
+<div class="block">Draw the current tile and grid for best display. Also write a text after the game or before it.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>paintComponent</code>&nbsp;in class&nbsp;<code>javax.swing.JComponent</code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>g</code> - The graphics object.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Panel.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Notation.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Panels.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Panel.html" target="_top">Frames</a></li>
+<li><a href="Panel.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/Panels.html b/MyTetris/doc/tetris/Panels.html
new file mode 100644
index 0000000..8798458
--- /dev/null
+++ b/MyTetris/doc/tetris/Panels.html
@@ -0,0 +1,370 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:31 EET 2016 -->
+<title>Panels</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Panels";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Panels.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Panel.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/TetrisGame.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Panels.html" target="_top">Frames</a></li>
+<li><a href="Panels.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_javax.swing.JComponent">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class Panels" class="title">Class Panels</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>java.awt.Component</li>
+<li>
+<ul class="inheritance">
+<li>java.awt.Container</li>
+<li>
+<ul class="inheritance">
+<li>javax.swing.JComponent</li>
+<li>
+<ul class="inheritance">
+<li>javax.swing.JPanel</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Panels</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible</dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">Panels</span>
+extends javax.swing.JPanel</pre>
+<div class="block">The class is responsible for displaying various information.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../serialized-form.html#tetris.Panels">Serialized Form</a></dd></dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_javax.swing.JComponent">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;javax.swing.JComponent</h3>
+<code>javax.swing.JComponent.AccessibleJComponent</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="nested_classes_inherited_from_class_java.awt.Component">
+<!--   -->
+</a>
+<h3>Nested classes/interfaces inherited from class&nbsp;java.awt.Component</h3>
+<code>java.awt.Component.BaselineResizeBehavior</code></li>
+</ul>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_javax.swing.JComponent">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;javax.swing.JComponent</h3>
+<code>TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_java.awt.Component">
+<!--   -->
+</a>
+<h3>Fields inherited from class&nbsp;java.awt.Component</h3>
+<code>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="fields_inherited_from_class_java.awt.image.ImageObserver">
+<!--   -->
+</a>
+<h3>Fields inherited from interface&nbsp;java.awt.image.ImageObserver</h3>
+<code>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH</code></li>
+</ul>
+</li>
+</ul>
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Panels.html#Panels(tetris.TetrisGame)">Panels</a></strong>(<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a>&nbsp;tetris)</code>
+<div class="block">Creates a new panel and sets it's display properties.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Panels.html#paintComponent(java.awt.Graphics)">paintComponent</a></strong>(java.awt.Graphics&nbsp;g)</code>
+<div class="block">Display information such as the next piece, the score and current level.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JPanel">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;javax.swing.JPanel</h3>
+<code>getAccessibleContext, getUI, getUIClassID, setUI, updateUI</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_javax.swing.JComponent">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;javax.swing.JComponent</h3>
+<code>addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.awt.Container">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.awt.Container</h3>
+<code>add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.awt.Component">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.awt.Component</h3>
+<code>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Panels(tetris.TetrisGame)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Panels</h4>
+<pre>public&nbsp;Panels(<a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a>&nbsp;tetris)</pre>
+<div class="block">Creates a new panel and sets it's display properties.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>tetris</code> - The tetris use.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="paintComponent(java.awt.Graphics)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>paintComponent</h4>
+<pre>public&nbsp;void&nbsp;paintComponent(java.awt.Graphics&nbsp;g)</pre>
+<div class="block">Display information such as the next piece, the score and current level.</div>
+<dl>
+<dt><strong>Overrides:</strong></dt>
+<dd><code>paintComponent</code>&nbsp;in class&nbsp;<code>javax.swing.JComponent</code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>g</code> - The graphics object.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Panels.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Panel.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/TetrisGame.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Panels.html" target="_top">Frames</a></li>
+<li><a href="Panels.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_classes_inherited_from_class_javax.swing.JComponent">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#fields_inherited_from_class_javax.swing.JComponent">Field</a>&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/TetrisGame.html b/MyTetris/doc/tetris/TetrisGame.html
new file mode 100644
index 0000000..e1c5e46
--- /dev/null
+++ b/MyTetris/doc/tetris/TetrisGame.html
@@ -0,0 +1,507 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:31 EET 2016 -->
+<title>TetrisGame</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="TetrisGame";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TetrisGame.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Panels.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/TetrisGame.saveListener.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/TetrisGame.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class TetrisGame" class="title">Class TetrisGame</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.TetrisGame</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">TetrisGame</span>
+extends java.lang.Object</pre>
+<div class="block">The class is responsible for handling much of the game logic and reading user input.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="nested_class_summary">
+<!--   -->
+</a>
+<h3>Nested Class Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
+<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Class and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>class&nbsp;</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.saveListener.html" title="class in tetris">TetrisGame.saveListener</a></strong></code>
+<div class="block">Saving gamefield</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- =========== FIELD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_summary">
+<!--   -->
+</a>
+<h3>Field Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
+<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.io.File</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#file">file</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>javax.swing.JFrame</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#frame">frame</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#AI()">AI</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#gameOver()">gameOver</a></strong>()</code>
+<div class="block">Checks to see whether or not the game is over.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getLevel()">getLevel</a></strong>()</code>
+<div class="block">Gets the current level.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getNextPieceType()">getNextPieceType</a></strong>()</code>
+<div class="block">Gets the current type of piece we'll use.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../tetris/Panel.html" title="class in tetris">Panel</a></code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getPanel()">getPanel</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getPieceCol()">getPieceCol</a></strong>()</code>
+<div class="block">Gets the column of the current piece.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getPieceRotate()">getPieceRotate</a></strong>()</code>
+<div class="block">Gets the rotation of the current piece.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getPieceRow()">getPieceRow</a></strong>()</code>
+<div class="block">Gets the row of the current piece.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getPieceType()">getPieceType</a></strong>()</code>
+<div class="block">Gets the current type of piece we're using.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#getScore()">getScore</a></strong>()</code>
+<div class="block">Gets the current score.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#main(java.lang.String[])">main</a></strong>(java.lang.String[]&nbsp;args)</code>
+<div class="block">Entry-point of the game that responsible for creating and starting a new game.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#newGame()">newGame</a></strong>()</code>
+<div class="block">Checks to see whether or not the game started.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#pause()">pause</a></strong>()</code>
+<div class="block">Checks to see whether or not the game is paused.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.html#up()">up</a></strong>()</code>
+<div class="block">Updates the game and handles part of it's logic.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ FIELD DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="field_detail">
+<!--   -->
+</a>
+<h3>Field Detail</h3>
+<a name="file">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>file</h4>
+<pre>public&nbsp;java.io.File file</pre>
+</li>
+</ul>
+<a name="frame">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>frame</h4>
+<pre>public&nbsp;javax.swing.JFrame frame</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="up()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>up</h4>
+<pre>public&nbsp;void&nbsp;up()</pre>
+<div class="block">Updates the game and handles part of it's logic.</div>
+</li>
+</ul>
+<a name="gameOver()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>gameOver</h4>
+<pre>public&nbsp;boolean&nbsp;gameOver()</pre>
+<div class="block">Checks to see whether or not the game is over.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>Whether or not the game is over.</dd></dl>
+</li>
+</ul>
+<a name="newGame()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>newGame</h4>
+<pre>public&nbsp;boolean&nbsp;newGame()</pre>
+<div class="block">Checks to see whether or not the game started.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>Whether or not the game started.</dd></dl>
+</li>
+</ul>
+<a name="AI()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>AI</h4>
+<pre>public&nbsp;boolean&nbsp;AI()</pre>
+</li>
+</ul>
+<a name="pause()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>pause</h4>
+<pre>public&nbsp;boolean&nbsp;pause()</pre>
+<div class="block">Checks to see whether or not the game is paused.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>Whether or not the game is paused.</dd></dl>
+</li>
+</ul>
+<a name="getScore()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getScore</h4>
+<pre>public&nbsp;int&nbsp;getScore()</pre>
+<div class="block">Gets the current score.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The score.</dd></dl>
+</li>
+</ul>
+<a name="getLevel()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLevel</h4>
+<pre>public&nbsp;int&nbsp;getLevel()</pre>
+<div class="block">Gets the current level.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The level.</dd></dl>
+</li>
+</ul>
+<a name="getPieceType()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPieceType</h4>
+<pre>public&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;getPieceType()</pre>
+<div class="block">Gets the current type of piece we're using.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The piece type.</dd></dl>
+</li>
+</ul>
+<a name="getNextPieceType()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getNextPieceType</h4>
+<pre>public&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;getNextPieceType()</pre>
+<div class="block">Gets the current type of piece we'll use.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The piece type.</dd></dl>
+</li>
+</ul>
+<a name="getPieceCol()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPieceCol</h4>
+<pre>public&nbsp;int&nbsp;getPieceCol()</pre>
+<div class="block">Gets the column of the current piece.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The column.</dd></dl>
+</li>
+</ul>
+<a name="getPieceRow()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPieceRow</h4>
+<pre>public&nbsp;int&nbsp;getPieceRow()</pre>
+<div class="block">Gets the row of the current piece.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The row.</dd></dl>
+</li>
+</ul>
+<a name="getPieceRotate()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPieceRotate</h4>
+<pre>public&nbsp;int&nbsp;getPieceRotate()</pre>
+<div class="block">Gets the rotation of the current piece.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The rotation.</dd></dl>
+</li>
+</ul>
+<a name="getPanel()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getPanel</h4>
+<pre>public&nbsp;<a href="../tetris/Panel.html" title="class in tetris">Panel</a>&nbsp;getPanel()</pre>
+</li>
+</ul>
+<a name="main(java.lang.String[])">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>main</h4>
+<pre>public static&nbsp;void&nbsp;main(java.lang.String[]&nbsp;args)</pre>
+<div class="block">Entry-point of the game that responsible for creating and starting a new game.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>args</code> - Unused.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TetrisGame.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Panels.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/TetrisGame.saveListener.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/TetrisGame.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
+<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
+<li>Constr&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/TetrisGame.saveListener.html b/MyTetris/doc/tetris/TetrisGame.saveListener.html
new file mode 100644
index 0000000..5c8a621
--- /dev/null
+++ b/MyTetris/doc/tetris/TetrisGame.saveListener.html
@@ -0,0 +1,268 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:31 EET 2016 -->
+<title>TetrisGame.saveListener</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="TetrisGame.saveListener";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TetrisGame.saveListener.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/TetrisGame.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Time.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/TetrisGame.saveListener.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.saveListener.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class TetrisGame.saveListener" class="title">Class TetrisGame.saveListener</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.TetrisGame.saveListener</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.awt.event.ActionListener, java.util.EventListener</dd>
+</dl>
+<dl>
+<dt>Enclosing class:</dt>
+<dd><a href="../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></dd>
+</dl>
+<hr>
+<br>
+<pre>public class <span class="strong">TetrisGame.saveListener</span>
+extends java.lang.Object
+implements java.awt.event.ActionListener</pre>
+<div class="block">Saving gamefield</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/TetrisGame.saveListener.html#TetrisGame.saveListener()">TetrisGame.saveListener</a></strong>()</code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/TetrisGame.saveListener.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</a></strong>(java.awt.event.ActionEvent&nbsp;event)</code>&nbsp;</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="TetrisGame.saveListener()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>TetrisGame.saveListener</h4>
+<pre>public&nbsp;TetrisGame.saveListener()</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="actionPerformed(java.awt.event.ActionEvent)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>actionPerformed</h4>
+<pre>public&nbsp;void&nbsp;actionPerformed(java.awt.event.ActionEvent&nbsp;event)</pre>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code>actionPerformed</code>&nbsp;in interface&nbsp;<code>java.awt.event.ActionListener</code></dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/TetrisGame.saveListener.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/TetrisGame.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li><a href="../tetris/Time.html" title="class in tetris"><span class="strong">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/TetrisGame.saveListener.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.saveListener.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/Time.html b/MyTetris/doc/tetris/Time.html
new file mode 100644
index 0000000..3d6ff34
--- /dev/null
+++ b/MyTetris/doc/tetris/Time.html
@@ -0,0 +1,346 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>Time</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Time";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Time.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Time.html" target="_top">Frames</a></li>
+<li><a href="Time.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Class Time" class="title">Class Time</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Time</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="strong">Time</span>
+extends java.lang.Object</pre>
+<div class="block">The class is responsible for tracking the number of cycles that have elapsed.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_summary">
+<!--   -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Time.html#Time(float)">Time</a></strong>(float&nbsp;cycles)</code>
+<div class="block">Creates a new clock and sets it's cycles-per-second.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Time.html#elapsedCycle()">elapsedCycle</a></strong>()</code>
+<div class="block">Checks to see if a cycle has elapsed for this timer.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Time.html#pause()">pause</a></strong>()</code>
+<div class="block">See if the clock is currently paused.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Time.html#setCycles(float)">setCycles</a></strong>(float&nbsp;cycles)</code>
+<div class="block">Number of cycles that elapse per second.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Time.html#setPause(boolean)">setPause</a></strong>(boolean&nbsp;paused)</code>
+<div class="block">Pauses or unpauses the timer.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Time.html#setTime()">setTime</a></strong>()</code>
+<div class="block">Resets the timer stats.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Time.html#update()">update</a></strong>()</code>
+<div class="block">Updates the clock stats.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor_detail">
+<!--   -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="Time(float)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Time</h4>
+<pre>public&nbsp;Time(float&nbsp;cycles)</pre>
+<div class="block">Creates a new clock and sets it's cycles-per-second.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cycles</code> - The number of cycles that elapse per second.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="setCycles(float)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setCycles</h4>
+<pre>public&nbsp;void&nbsp;setCycles(float&nbsp;cycles)</pre>
+<div class="block">Number of cycles that elapse per second.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cycles</code> - The number of cycles per second.</dd></dl>
+</li>
+</ul>
+<a name="setTime()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setTime</h4>
+<pre>public&nbsp;void&nbsp;setTime()</pre>
+<div class="block">Resets the timer stats.</div>
+</li>
+</ul>
+<a name="update()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>update</h4>
+<pre>public&nbsp;void&nbsp;update()</pre>
+<div class="block">Updates the clock stats. Calculated only if the timer is not paused.</div>
+</li>
+</ul>
+<a name="setPause(boolean)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>setPause</h4>
+<pre>public&nbsp;void&nbsp;setPause(boolean&nbsp;paused)</pre>
+<div class="block">Pauses or unpauses the timer.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>paused</code> - Whether or not to pause this clock.</dd></dl>
+</li>
+</ul>
+<a name="pause()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>pause</h4>
+<pre>public&nbsp;boolean&nbsp;pause()</pre>
+<div class="block">See if the clock is currently paused.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>Whether or not this clock is paused.</dd></dl>
+</li>
+</ul>
+<a name="elapsedCycle()">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>elapsedCycle</h4>
+<pre>public&nbsp;boolean&nbsp;elapsedCycle()</pre>
+<div class="block">Checks to see if a cycle has elapsed for this timer.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>Whether or not a cycle has elapsed.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Time.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Time.html" target="_top">Frames</a></li>
+<li><a href="Time.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/Types.html b/MyTetris/doc/tetris/Types.html
new file mode 100644
index 0000000..b042ff1
--- /dev/null
+++ b/MyTetris/doc/tetris/Types.html
@@ -0,0 +1,574 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Types</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Types";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Types.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Time.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Types.html" target="_top">Frames</a></li>
+<li><a href="Types.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">tetris</div>
+<h2 title="Enum Types" class="title">Enum Types</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li>java.lang.Object</li>
+<li>
+<ul class="inheritance">
+<li>java.lang.Enum&lt;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&gt;</li>
+<li>
+<ul class="inheritance">
+<li>tetris.Types</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<dl>
+<dt>All Implemented Interfaces:</dt>
+<dd>java.io.Serializable, java.lang.Comparable&lt;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&gt;</dd>
+</dl>
+<hr>
+<br>
+<pre>public enum <span class="strong">Types</span>
+extends java.lang.Enum&lt;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&gt;</pre>
+<div class="block">The enum class is responsible for the properties of the various pieces that can be used in the game.</div>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- =========== ENUM CONSTANT SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum_constant_summary">
+<!--   -->
+</a>
+<h3>Enum Constant Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
+<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Enum Constant and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type1">Type1</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type2">Type2</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type3">Type3</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type4">Type4</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type5">Type5</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type6">Type6</a></strong></code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><strong><a href="../tetris/Types.html#Type7">Type7</a></strong></code>&nbsp;</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_summary">
+<!--   -->
+</a>
+<h3>Method Summary</h3>
+<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
+<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.awt.Color</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getBaseColor()">getBaseColor</a></strong>()</code>
+<div class="block">Gets the base color of this type.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getBottomInset(int)">getBottomInset</a></strong>(int&nbsp;Rotate)</code>
+<div class="block">The botom inset is represented by the number of empty rows on the bottom side.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>java.awt.Color</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getDarkColor()">getDarkColor</a></strong>()</code>
+<div class="block">Gets the dark color of this type.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getDimension()">getDimension</a></strong>()</code>
+<div class="block">Gets the dimension of this type.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getLeftInset(int)">getLeftInset</a></strong>(int&nbsp;Rotate)</code>
+<div class="block">The left inset is represented by the number of empty columns on the left side.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>java.awt.Color</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getLightColor()">getLightColor</a></strong>()</code>
+<div class="block">Gets the light color of this type.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getRightInset(int)">getRightInset</a></strong>(int&nbsp;Rotate)</code>
+<div class="block">The right inset is represented by the number of empty columns on the right side.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getSpawnColumn()">getSpawnColumn</a></strong>()</code>
+<div class="block">Gets the spawn column of this type.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getSpawnRow()">getSpawnRow</a></strong>()</code>
+<div class="block">Gets the spawn row of this type.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>int</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#getTopInset(int)">getTopInset</a></strong>(int&nbsp;Rotate)</code>
+<div class="block">The top inset is represented by the number of empty rows on the top side.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#kind_of_type(int,%20int,%20int)">kind_of_type</a></strong>(int&nbsp;x,
+            int&nbsp;y,
+            int&nbsp;Rotate)</code>
+<div class="block">Checks to see if the given coordinates and rotation contain a tile.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String&nbsp;name)</code>
+<div class="block">Returns the enum constant of this type with the specified name.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../tetris/Types.html" title="enum in tetris">Types</a>[]</code></td>
+<td class="colLast"><code><strong><a href="../tetris/Types.html#values()">values</a></strong>()</code>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Enum</h3>
+<code>compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
+</ul>
+<ul class="blockList">
+<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
+<!--   -->
+</a>
+<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
+<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ============ ENUM CONSTANT DETAIL =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="enum_constant_detail">
+<!--   -->
+</a>
+<h3>Enum Constant Detail</h3>
+<a name="Type1">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Type1</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type1</pre>
+</li>
+</ul>
+<a name="Type2">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Type2</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type2</pre>
+</li>
+</ul>
+<a name="Type3">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Type3</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type3</pre>
+</li>
+</ul>
+<a name="Type4">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Type4</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type4</pre>
+</li>
+</ul>
+<a name="Type5">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Type5</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type5</pre>
+</li>
+</ul>
+<a name="Type6">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>Type6</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type6</pre>
+</li>
+</ul>
+<a name="Type7">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>Type7</h4>
+<pre>public static final&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a> Type7</pre>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method_detail">
+<!--   -->
+</a>
+<h3>Method Detail</h3>
+<a name="values()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>values</h4>
+<pre>public static&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a>[]&nbsp;values()</pre>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.  This method may be used to iterate
+over the constants as follows:
+<pre>
+for (Types c : Types.values())
+&nbsp;   System.out.println(c);
+</pre></div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl>
+</li>
+</ul>
+<a name="valueOf(java.lang.String)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>valueOf</h4>
+<pre>public static&nbsp;<a href="../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;valueOf(java.lang.String&nbsp;name)</pre>
+<div class="block">Returns the enum constant of this type with the specified name.
+The string must match <i>exactly</i> an identifier used to declare an
+enum constant in this type.  (Extraneous whitespace characters are 
+not permitted.)</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
+<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd></dl>
+</li>
+</ul>
+<a name="getBaseColor()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getBaseColor</h4>
+<pre>public&nbsp;java.awt.Color&nbsp;getBaseColor()</pre>
+<div class="block">Gets the base color of this type.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The base color.</dd></dl>
+</li>
+</ul>
+<a name="getLightColor()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLightColor</h4>
+<pre>public&nbsp;java.awt.Color&nbsp;getLightColor()</pre>
+<div class="block">Gets the light color of this type.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The light color.</dd></dl>
+</li>
+</ul>
+<a name="getDarkColor()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDarkColor</h4>
+<pre>public&nbsp;java.awt.Color&nbsp;getDarkColor()</pre>
+<div class="block">Gets the dark color of this type.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The dark color.</dd></dl>
+</li>
+</ul>
+<a name="getDimension()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getDimension</h4>
+<pre>public&nbsp;int&nbsp;getDimension()</pre>
+<div class="block">Gets the dimension of this type.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The dimension.</dd></dl>
+</li>
+</ul>
+<a name="getSpawnColumn()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSpawnColumn</h4>
+<pre>public&nbsp;int&nbsp;getSpawnColumn()</pre>
+<div class="block">Gets the spawn column of this type.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The spawn column.</dd></dl>
+</li>
+</ul>
+<a name="getSpawnRow()">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getSpawnRow</h4>
+<pre>public&nbsp;int&nbsp;getSpawnRow()</pre>
+<div class="block">Gets the spawn row of this type.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The spawn row.</dd></dl>
+</li>
+</ul>
+<a name="kind_of_type(int, int, int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>kind_of_type</h4>
+<pre>public&nbsp;boolean&nbsp;kind_of_type(int&nbsp;x,
+                   int&nbsp;y,
+                   int&nbsp;Rotate)</pre>
+<div class="block">Checks to see if the given coordinates and rotation contain a tile.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - The x coordinate of the tile.</dd><dd><code>y</code> - The y coordinate of the tile.</dd><dd><code>rotation</code> - The rotation of our tile.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>Regardless of whether or not there tiles.</dd></dl>
+</li>
+</ul>
+<a name="getLeftInset(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getLeftInset</h4>
+<pre>public&nbsp;int&nbsp;getLeftInset(int&nbsp;Rotate)</pre>
+<div class="block">The left inset is represented by the number of empty columns on the left side.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rotation</code> - The rotation.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The left inset.</dd></dl>
+</li>
+</ul>
+<a name="getRightInset(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getRightInset</h4>
+<pre>public&nbsp;int&nbsp;getRightInset(int&nbsp;Rotate)</pre>
+<div class="block">The right inset is represented by the number of empty columns on the right side.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rotation</code> - The rotation.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The right inset.</dd></dl>
+</li>
+</ul>
+<a name="getTopInset(int)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getTopInset</h4>
+<pre>public&nbsp;int&nbsp;getTopInset(int&nbsp;Rotate)</pre>
+<div class="block">The top inset is represented by the number of empty rows on the top side.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rotation</code> - The rotation.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The top inset.</dd></dl>
+</li>
+</ul>
+<a name="getBottomInset(int)">
+<!--   -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getBottomInset</h4>
+<pre>public&nbsp;int&nbsp;getBottomInset(int&nbsp;Rotate)</pre>
+<div class="block">The botom inset is represented by the number of empty rows on the bottom side.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>rotation</code> - The rotation.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The bottom inset.</dd></dl>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/Types.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li><a href="../tetris/Time.html" title="class in tetris"><span class="strong">Prev Class</span></a></li>
+<li>Next Class</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/Types.html" target="_top">Frames</a></li>
+<li><a href="Types.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary:&nbsp;</li>
+<li>Nested&nbsp;|&nbsp;</li>
+<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#method_summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail:&nbsp;</li>
+<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
+<li>Field&nbsp;|&nbsp;</li>
+<li><a href="#method_detail">Method</a></li>
+</ul>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Configuration.html b/MyTetris/doc/tetris/class-use/Configuration.html
new file mode 100644
index 0000000..61bd892
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Configuration.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.Configuration</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Configuration";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Configuration.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Configuration.html" target="_top">Frames</a></li>
+<li><a href="Configuration.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Configuration" class="title">Uses of Class<br>tetris.Configuration</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.Configuration</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Configuration.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Configuration.html" target="_top">Frames</a></li>
+<li><a href="Configuration.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Files.html b/MyTetris/doc/tetris/class-use/Files.html
new file mode 100644
index 0000000..253462e
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Files.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.Files</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Files";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Files.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Files.html" target="_top">Frames</a></li>
+<li><a href="Files.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Files" class="title">Uses of Class<br>tetris.Files</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.Files</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Files.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Files.html" target="_top">Frames</a></li>
+<li><a href="Files.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/KeyGetter.html b/MyTetris/doc/tetris/class-use/KeyGetter.html
new file mode 100644
index 0000000..f19fe3e
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/KeyGetter.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.KeyGetter</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.KeyGetter";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/KeyGetter.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/KeyGetter.html" target="_top">Frames</a></li>
+<li><a href="KeyGetter.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.KeyGetter" class="title">Uses of Class<br>tetris.KeyGetter</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.KeyGetter</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/KeyGetter.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/KeyGetter.html" target="_top">Frames</a></li>
+<li><a href="KeyGetter.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Notation.html b/MyTetris/doc/tetris/class-use/Notation.html
new file mode 100644
index 0000000..623e78d
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Notation.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.Notation</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Notation";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Notation.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Notation.html" target="_top">Frames</a></li>
+<li><a href="Notation.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Notation" class="title">Uses of Class<br>tetris.Notation</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.Notation</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Notation.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Notation.html" target="_top">Frames</a></li>
+<li><a href="Notation.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Panel.html b/MyTetris/doc/tetris/class-use/Panel.html
new file mode 100644
index 0000000..a6c8afe
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Panel.html
@@ -0,0 +1,138 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.Panel</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Panel";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Panel.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Panel.html" target="_top">Frames</a></li>
+<li><a href="Panel.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Panel" class="title">Uses of Class<br>tetris.Panel</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="tetris">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../tetris/Panel.html" title="class in tetris">Panel</a> in <a href="../../tetris/package-summary.html">tetris</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../tetris/package-summary.html">tetris</a> that return <a href="../../tetris/Panel.html" title="class in tetris">Panel</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../tetris/Panel.html" title="class in tetris">Panel</a></code></td>
+<td class="colLast"><span class="strong">TetrisGame.</span><code><strong><a href="../../tetris/TetrisGame.html#getPanel()">getPanel</a></strong>()</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Panel.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Panel.html" target="_top">Frames</a></li>
+<li><a href="Panel.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Panels.html b/MyTetris/doc/tetris/class-use/Panels.html
new file mode 100644
index 0000000..2811cd4
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Panels.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.Panels</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Panels";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Panels.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Panels.html" target="_top">Frames</a></li>
+<li><a href="Panels.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Panels" class="title">Uses of Class<br>tetris.Panels</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.Panels</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Panels.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Panels.html" target="_top">Frames</a></li>
+<li><a href="Panels.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/TetrisGame.html b/MyTetris/doc/tetris/class-use/TetrisGame.html
new file mode 100644
index 0000000..0dfe933
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/TetrisGame.html
@@ -0,0 +1,143 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.TetrisGame</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.TetrisGame";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/TetrisGame.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/TetrisGame.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.TetrisGame" class="title">Uses of Class<br>tetris.TetrisGame</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="tetris">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a> in <a href="../../tetris/package-summary.html">tetris</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
+<caption><span>Constructors in <a href="../../tetris/package-summary.html">tetris</a> with parameters of type <a href="../../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colLast"><code><strong><a href="../../tetris/Panel.html#Panel(tetris.TetrisGame)">Panel</a></strong>(<a href="../../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a>&nbsp;tetris)</code>
+<div class="block">Crates a new gameBoard.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colLast"><code><strong><a href="../../tetris/Panels.html#Panels(tetris.TetrisGame)">Panels</a></strong>(<a href="../../tetris/TetrisGame.html" title="class in tetris">TetrisGame</a>&nbsp;tetris)</code>
+<div class="block">Creates a new panel and sets it's display properties.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/TetrisGame.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/TetrisGame.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/TetrisGame.saveListener.html b/MyTetris/doc/tetris/class-use/TetrisGame.saveListener.html
new file mode 100644
index 0000000..66d2fd7
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/TetrisGame.saveListener.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.TetrisGame.saveListener</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.TetrisGame.saveListener";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/TetrisGame.saveListener.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/TetrisGame.saveListener.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.saveListener.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.TetrisGame.saveListener" class="title">Uses of Class<br>tetris.TetrisGame.saveListener</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.TetrisGame.saveListener</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/TetrisGame.saveListener.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/TetrisGame.saveListener.html" target="_top">Frames</a></li>
+<li><a href="TetrisGame.saveListener.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Time.html b/MyTetris/doc/tetris/class-use/Time.html
new file mode 100644
index 0000000..680d88c
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Time.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>Uses of Class tetris.Time</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Time";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Time.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../../overview-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Time.html" target="_top">Frames</a></li>
+<li><a href="Time.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Time" class="title">Uses of Class<br>tetris.Time</h2>
+</div>
+<div class="classUseContainer">No usage of tetris.Time</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Time.html" title="class in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../../overview-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Time.html" target="_top">Frames</a></li>
+<li><a href="Time.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/class-use/Types.html b/MyTetris/doc/tetris/class-use/Types.html
new file mode 100644
index 0000000..f14d198
--- /dev/null
+++ b/MyTetris/doc/tetris/class-use/Types.html
@@ -0,0 +1,205 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:33:32 EET 2016 -->
+<title>Uses of Class tetris.Types</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Class tetris.Types";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Types.html" title="enum in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Types.html" target="_top">Frames</a></li>
+<li><a href="Types.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class tetris.Types" class="title">Uses of Class<br>tetris.Types</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="tetris">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../tetris/Types.html" title="enum in tetris">Types</a> in <a href="../../tetris/package-summary.html">tetris</a></h3>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../tetris/package-summary.html">tetris</a> that return <a href="../../tetris/Types.html" title="enum in tetris">Types</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><span class="strong">Notation.</span><code><strong><a href="../../tetris/Notation.html#getEnumType()">getEnumType</a></strong>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><span class="strong">TetrisGame.</span><code><strong><a href="../../tetris/TetrisGame.html#getNextPieceType()">getNextPieceType</a></strong>()</code>
+<div class="block">Gets the current type of piece we'll use.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="../../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><span class="strong">TetrisGame.</span><code><strong><a href="../../tetris/TetrisGame.html#getPieceType()">getPieceType</a></strong>()</code>
+<div class="block">Gets the current type of piece we're using.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../tetris/Types.html" title="enum in tetris">Types</a></code></td>
+<td class="colLast"><span class="strong">Types.</span><code><strong><a href="../../tetris/Types.html#valueOf(java.lang.String)">valueOf</a></strong>(java.lang.String&nbsp;name)</code>
+<div class="block">Returns the enum constant of this type with the specified name.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="../../tetris/Types.html" title="enum in tetris">Types</a>[]</code></td>
+<td class="colLast"><span class="strong">Types.</span><code><strong><a href="../../tetris/Types.html#values()">values</a></strong>()</code>
+<div class="block">Returns an array containing the constants of this enum type, in
+the order they are declared.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../tetris/package-summary.html">tetris</a> with parameters of type <a href="../../tetris/Types.html" title="enum in tetris">Types</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="strong">Panel.</span><code><strong><a href="../../tetris/Panel.html#addPiece(tetris.Types,%20int,%20int,%20int)">addPiece</a></strong>(<a href="../../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;type,
+        int&nbsp;x,
+        int&nbsp;y,
+        int&nbsp;rotate)</code>
+<div class="block">Adds a piece to the game board.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><span class="strong">Panel.</span><code><strong><a href="../../tetris/Panel.html#isEmpty(tetris.Types,%20int,%20int,%20int)">isEmpty</a></strong>(<a href="../../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;type,
+       int&nbsp;x,
+       int&nbsp;y,
+       int&nbsp;rotate)</code>
+<div class="block">Determines whether or not a piece can be placed at the coordinates.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
+<caption><span>Constructors in <a href="../../tetris/package-summary.html">tetris</a> with parameters of type <a href="../../tetris/Types.html" title="enum in tetris">Types</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colLast"><code><strong><a href="../../tetris/Notation.html#Notation(int,%20int,%20int,%20tetris.Types,%20boolean)">Notation</a></strong>(int&nbsp;col,
+        int&nbsp;row,
+        int&nbsp;rotate,
+        <a href="../../tetris/Types.html" title="enum in tetris">Types</a>&nbsp;t,
+        boolean&nbsp;newFigure)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../tetris/package-summary.html">Package</a></li>
+<li><a href="../../tetris/Types.html" title="enum in tetris">Class</a></li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="../package-tree.html">Tree</a></li>
+<li><a href="../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../index-files/index-1.html">Index</a></li>
+<li><a href="../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../index.html?tetris/class-use/Types.html" target="_top">Frames</a></li>
+<li><a href="Types.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/package-frame.html b/MyTetris/doc/tetris/package-frame.html
new file mode 100644
index 0000000..f2c9276
--- /dev/null
+++ b/MyTetris/doc/tetris/package-frame.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>tetris</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<h1 class="bar"><a href="../tetris/package-summary.html" target="classFrame">tetris</a></h1>
+<div class="indexContainer">
+<h2 title="Classes">Classes</h2>
+<ul title="Classes">
+<li><a href="Time.html" title="class in tetris" target="classFrame">Time</a></li>
+</ul>
+</div>
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/package-summary.html b/MyTetris/doc/tetris/package-summary.html
new file mode 100644
index 0000000..332f4e5
--- /dev/null
+++ b/MyTetris/doc/tetris/package-summary.html
@@ -0,0 +1,133 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>tetris</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="tetris";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li><a href="package-use.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Package</li>
+<li>Next Package</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/package-summary.html" target="_top">Frames</a></li>
+<li><a href="package-summary.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 title="Package" class="title">Package&nbsp;tetris</h1>
+</div>
+<div class="contentContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
+<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Class</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="../tetris/Time.html" title="class in tetris">Time</a></td>
+<td class="colLast">
+<div class="block">The class is responsible for tracking the number of cycles that have elapsed.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li><a href="package-use.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Package</li>
+<li>Next Package</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/package-summary.html" target="_top">Frames</a></li>
+<li><a href="package-summary.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/package-tree.html b/MyTetris/doc/tetris/package-tree.html
new file mode 100644
index 0000000..f3b4a7f
--- /dev/null
+++ b/MyTetris/doc/tetris/package-tree.html
@@ -0,0 +1,122 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>tetris Class Hierarchy</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="tetris Class Hierarchy";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li class="navBarCell1Rev">Tree</li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/package-tree.html" target="_top">Frames</a></li>
+<li><a href="package-tree.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 class="title">Hierarchy For Package tetris</h1>
+</div>
+<div class="contentContainer">
+<h2 title="Class Hierarchy">Class Hierarchy</h2>
+<ul>
+<li type="circle">java.lang.Object
+<ul>
+<li type="circle">tetris.<a href="../tetris/Time.html" title="class in tetris"><span class="strong">Time</span></a></li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li>Use</li>
+<li class="navBarCell1Rev">Tree</li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/package-tree.html" target="_top">Frames</a></li>
+<li><a href="package-tree.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/doc/tetris/package-use.html b/MyTetris/doc/tetris/package-use.html
new file mode 100644
index 0000000..66fc588
--- /dev/null
+++ b/MyTetris/doc/tetris/package-use.html
@@ -0,0 +1,113 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="ru">
+<head>
+<!-- Generated by javadoc (version 1.7.0_80) on Sun May 15 15:44:23 EET 2016 -->
+<title>Uses of Package tetris</title>
+<meta name="date" content="2016-05-15">
+<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
+</head>
+<body>
+<script type="text/javascript"><!--
+    if (location.href.indexOf('is-external=true') == -1) {
+        parent.document.title="Uses of Package tetris";
+    }
+//-->
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar_top">
+<!--   -->
+</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/package-use.html" target="_top">Frames</a></li>
+<li><a href="package-use.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_top");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h1 title="Uses of Package tetris" class="title">Uses of Package<br>tetris</h1>
+</div>
+<div class="contentContainer">No usage of tetris</div>
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar_bottom">
+<!--   -->
+</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
+<!--   -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../tetris/package-summary.html">Package</a></li>
+<li>Class</li>
+<li class="navBarCell1Rev">Use</li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../deprecated-list.html">Deprecated</a></li>
+<li><a href="../index-files/index-1.html">Index</a></li>
+<li><a href="../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../index.html?tetris/package-use.html" target="_top">Frames</a></li>
+<li><a href="package-use.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+  allClassesLink = document.getElementById("allclasses_navbar_bottom");
+  if(window==top) {
+    allClassesLink.style.display = "block";
+  }
+  else {
+    allClassesLink.style.display = "none";
+  }
+  //-->
+</script>
+</div>
+<a name="skip-navbar_bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+</body>
+</html>
diff --git a/MyTetris/src/tetris/Configuration.java b/MyTetris/src/tetris/Configuration.java
new file mode 100644
index 0000000..a182f23
--- /dev/null
+++ b/MyTetris/src/tetris/Configuration.java
@@ -0,0 +1,114 @@
+package tetris;
+
+import javax.swing.*;
+import java.awt.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.util.ArrayList;
+
+/**
+ * The class is responsible for choosing keys for the game.
+ */
+public class Configuration {
+
+    public static String rotateLeft = "Up", rotateRight = "Up1", left = "Left", right = "Right",
+            down = "Down", pause = "Pause", game = "Game";
+    public static String A = "A", D = "D", S = "S", Q = "Q", W = "W", E = "E", R = "R";
+    private static ArrayList<Choice> choices;
+
+    /**
+     * Set the properties of the window, determine the position of the buttons, adds a controller
+     * listener.
+     *
+     * @param frame The Frame.
+     */
+    public static void openConfig(JFrame frame) {
+        int x = 30, x1 = 150, x0 = 400;
+        int y = 30, y1 = 80, y2 = 130, y3 = 180, y4 = 220, y0 = 300;
+        int height = 50, width = 100;
+        choices = new ArrayList<Choice>();
+        final JFrame options = new JFrame("Options");
+        options.setSize(x0, y0);
+        options.setResizable(false);
+        options.setLocationRelativeTo(frame);
+        options.setLayout(null);
+        Choice left = addChoice("Left", options, x, y);
+        left.select(Configuration.A);
+        Choice right = addChoice("Right", options, x1, y);
+        right.select(Configuration.D);
+        Choice down = addChoice("Down", options, x, y1);
+        down.select(Configuration.S);
+        Choice rotateLeft = addChoice("RotateLeft", options, x, y2);
+        rotateLeft.select(Configuration.Q);
+        Choice rotateRight = addChoice("RotateRight", options, x1, y2);
+        rotateRight.select(Configuration.E);
+        Choice pause = addChoice("Pause", options, x1, y1);
+        pause.select(Configuration.R);
+        Choice game = addChoice("New Game", options, x, y3);
+        game.select(Configuration.W);
+        JButton done = new JButton("Done");
+        done.setBounds(x1, y4, width, height);
+        done.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                options.dispose();
+                saveChanges();
+            }
+        });
+        options.add(done);
+        options.setVisible(true);
+    }
+
+    /**
+     * Save our choose for this game.
+     */
+    public static void saveChanges() {
+        Choice left = choices.get(0);
+        Choice right = choices.get(1);
+        Choice down = choices.get(2);
+        Choice rotateLeft = choices.get(3);
+        Choice rotateRight = choices.get(4);
+        Choice pause = choices.get(5);
+        Choice game = choices.get(6);
+        Configuration.left = left.getSelectedItem();
+        Configuration.right = right.getSelectedItem();
+        Configuration.down = down.getSelectedItem();
+        Configuration.rotateLeft = rotateLeft.getSelectedItem();
+        Configuration.rotateRight = rotateRight.getSelectedItem();
+        Configuration.pause = pause.getSelectedItem();
+        Configuration.game = game.getSelectedItem();
+    }
+
+    /**
+     * Set properties for windows
+     */
+    public static Choice addChoice(String name, JFrame options, int x, int y) {
+        int height = 20, width = 100, sizeLeft = 20;
+        JLabel label = new JLabel(name);
+        label.setBounds(x, y - sizeLeft, width, height);
+        Choice key = new Choice();
+        for (String s : getKeyNames()) {
+            key.add(s);
+        }
+        key.setBounds(x, y, width, height);
+        options.add(key);
+        options.add(label);
+        choices.add(key);
+        return key;
+    }
+
+    /**
+     * Array of lines
+     *
+     * @return The ArrayList<String>.
+     */
+    public static ArrayList<String> getKeyNames() {
+        ArrayList<String> result = new ArrayList<String>();
+        for (String s : KeyGetter.keyNames) {
+            result.add(s);
+            if (s.equalsIgnoreCase("F24")) {
+                break;
+            }
+        }
+        return result;
+    }
+}
diff --git a/MyTetris/src/tetris/Files.java b/MyTetris/src/tetris/Files.java
new file mode 100644
index 0000000..2abff81
--- /dev/null
+++ b/MyTetris/src/tetris/Files.java
@@ -0,0 +1,77 @@
+package tetris;
+//������ �����(�������������� �������), �� �� ������� ���
+
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.FileReader;
+import java.io.IOException;
+import java.io.OutputStreamWriter;
+import java.io.PrintWriter;
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+
+public class Files {
+    private String nameFile;
+
+    public Files() {
+        StringBuilder string = new StringBuilder();
+        string.append(new SimpleDateFormat().format(Calendar.getInstance().getTime()));
+
+        nameFile = "Save" + File.separator + string.toString().replaceAll("\\:|\\.|\\ |", "") + ".save";
+        File file = new File("Save");
+
+        if (!file.exists()) {
+            file.mkdirs();
+        }
+    }
+
+    public static String[] readSave(String path) {
+        File file = new File("Save" + File.separator + path);
+        StringBuilder string = new StringBuilder();
+        String save;
+       // int amount = 0;
+        if (!file.exists()) {
+            return null;
+        }
+        try {
+            BufferedReader in = new BufferedReader(new FileReader(file.getAbsoluteFile()));
+            try {
+                while ((save = in.readLine()) != null) {
+                    //amount++;
+                    string.append(save);
+                }
+            } finally {
+                in.close();
+            }
+        } catch (IOException e) {
+            throw new RuntimeException(e);
+        }
+        // Replay.amount = amount;
+        return string.toString().split(";");
+    }
+
+    public void writeSave(int curCol, int curRow, int curRotate) {
+        File file = new File(nameFile);
+        try {
+            if (!file.exists()) {
+                file.createNewFile();
+            }
+            PrintWriter out = new PrintWriter(new OutputStreamWriter(new FileOutputStream(file, true)));
+            try {
+                out.println(convertToString(curCol, curRow, curRotate));
+            } finally {
+                out.close();
+            }
+        } catch (IOException e) {
+            throw new RuntimeException(e);
+        }
+    }
+
+    private String convertToString(int curCol, int curRow, int curRotate) {
+        String string = new String();
+        string = Integer.toString(curCol) + Integer.toString(curRow) + Integer.toString(curRotate) + ';';
+        return string.toString();
+    }
+}
\ No newline at end of file
diff --git a/MyTetris/src/tetris/KeyGetter.java b/MyTetris/src/tetris/KeyGetter.java
new file mode 100644
index 0000000..3222d6f
--- /dev/null
+++ b/MyTetris/src/tetris/KeyGetter.java
@@ -0,0 +1,38 @@
+package tetris;
+
+import java.awt.event.KeyEvent;
+import java.lang.reflect.Field;
+import java.lang.reflect.Modifier;
+import java.util.ArrayList;
+import java.util.HashMap;
+
+/**
+ * The class is responsible for keys in the game.
+ */
+public class KeyGetter {
+    public static HashMap<String, Integer> keys;
+    public static ArrayList<String> keyNames;
+
+    /**
+     * Take keys from system.
+     */
+    public static void loadKeys() {
+        keys = new HashMap<String, Integer>();
+        keyNames = new ArrayList<String>();
+        Field[] fields = KeyEvent.class.getFields();
+        for (Field f : fields) {
+            if (Modifier.isStatic(f.getModifiers())) {
+                if (f.getName().startsWith("VK")) {
+                    try {
+                        int num = f.getInt(null);
+                        String name = KeyEvent.getKeyText(num);
+                        keys.put(name, num);
+                        keyNames.add(name);
+                    } catch (Exception e) {
+                        e.printStackTrace();
+                    }
+                }
+            }
+        }
+    }
+}
diff --git a/MyTetris/src/tetris/Notation.java b/MyTetris/src/tetris/Notation.java
new file mode 100644
index 0000000..e0b327b
--- /dev/null
+++ b/MyTetris/src/tetris/Notation.java
@@ -0,0 +1,157 @@
+package tetris;
+
+
+public class Notation {
+
+    private static int id;
+    private static int number;
+    private int col;
+    private int row;
+    private int type;
+    private int num;
+    private int ownId;
+    private int nextType;
+
+    public Notation(int col, int row, int type, int id, int number,int nextType) {
+        this.col = col;
+        this.row = row;
+        this.type = type;
+        ownId = id;
+        num = number;
+        this.nextType = nextType;
+    }
+
+    public Notation(int col, int row, Types t,Types nextT, boolean newFigure) {
+        this.col = col;
+        this.row = row;
+        ownId = ++id;
+        if (newFigure) {
+            number++;
+        }
+        num = number;
+        switch (t) {
+            case Type1:
+                type = 1;
+                break;
+            case Type2:
+                type = 2;
+                break;
+            case Type3:
+                type = 3;
+                break;
+            case Type4:
+                type = 4;
+                break;
+            case Type5:
+                type = 5;
+                break;
+            case Type6:
+                type = 6;
+                break;
+            case Type7:
+                type = 7;
+                break;
+        }
+        switch (nextT) {
+            case Type1:
+                nextType = 1;
+                break;
+            case Type2:
+                nextType = 2;
+                break;
+            case Type3:
+                nextType = 3;
+                break;
+            case Type4:
+                nextType = 4;
+                break;
+            case Type5:
+                nextType = 5;
+                break;
+            case Type6:
+                nextType = 6;
+                break;
+            case Type7:
+                nextType = 7;
+                break;
+        }
+    }
+
+    public int getId() {
+        return ownId;
+    }
+
+    public int getCol() {
+        return col;
+    }
+
+    public void setCol(int col) {
+        this.col = col;
+    }
+
+    public int getRow() {
+        return row;
+    }
+
+    public void setRow(int row) {
+        this.row = row;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public int getNumber() {
+        return num;
+    }
+
+    public Types getEnumType() {
+        switch (type) {
+            case 1:
+                return Types.Type1;
+            case 2:
+                return Types.Type2;
+            case 3:
+                return Types.Type3;
+            case 4:
+                return Types.Type4;
+            case 5:
+                return Types.Type5;
+            case 6:
+                return Types.Type6;
+            case 7:
+                return Types.Type7;
+            default:
+                return null;
+        }
+    }
+
+    public int getNextType() {
+        return nextType;
+    }
+
+    public void setNextType(int nextType) {
+        this.nextType = nextType;
+    }
+
+    public Types getEnumNextType(){
+        switch (nextType) {
+            case 1:
+                return Types.Type1;
+            case 2:
+                return Types.Type2;
+            case 3:
+                return Types.Type3;
+            case 4:
+                return Types.Type4;
+            case 5:
+                return Types.Type5;
+            case 6:
+                return Types.Type6;
+            case 7:
+                return Types.Type7;
+            default:
+                return null;
+        }
+    }
+}
diff --git a/MyTetris/src/tetris/Panel.java b/MyTetris/src/tetris/Panel.java
new file mode 100644
index 0000000..2f520a5
--- /dev/null
+++ b/MyTetris/src/tetris/Panel.java
@@ -0,0 +1,243 @@
+package tetris;
+
+import javax.swing.*;
+import java.awt.*;
+
+/**
+ * The class is responsible for displaying the game grid and handling things for the game board.
+ */
+public class Panel extends JPanel {
+    private static final long serialVersionUID = 0;
+    public static final int columns = 10;
+    private static final int linesOnDesk = 20;
+    private static final int linesOfTheDesk = 2;
+    public static final int lines = linesOnDesk + linesOfTheDesk;
+    public static final int blockSize = 24;
+    public static final int panelWidth = columns * blockSize + 10;
+    public static final int panelHeight = linesOnDesk * blockSize + 10;
+    private TetrisGame tetris;
+    private Types[][] tiles;
+
+    /**
+     * Crates a new gameBoard.
+     *
+     * @param tetris The tetris will use.
+     */
+    public Panel(TetrisGame tetris) {
+        this.tetris = tetris;
+        this.tiles = new Types[lines][columns];
+        setPreferredSize(new Dimension(250, 500));
+        setBackground(Color.darkGray);
+    }
+
+    /**
+     * Resets the board and clears away any tiles.
+     */
+    public void clear() {
+        for (int i = 0; i < lines; i++) {
+            for (int j = 0; j < columns; j++) {
+                tiles[i][j] = null;
+            }
+        }
+    }
+
+    /**
+     * Determines whether or not a piece can be placed at the coordinates.
+     *
+     * @param type   The type of piece to use.
+     * @param x      The x coordinate of the piece.
+     * @param y      The y coordinate of the piece.
+     * @param rotate The rotation of the piece.
+     * @return Whether or not the position is valid.
+     */
+    public boolean isEmpty(Types type, int x, int y, int rotate) {
+        if (x < -type.getLeftInset(rotate)) {
+            return false;
+        }
+        if (x + type.getDimension() - type.getRightInset(rotate) >= columns) {
+            return false;
+        }
+        if (y < -type.getTopInset(rotate)) {
+            return false;
+        }
+        if (y + type.getDimension() - type.getBottomInset(rotate) >= lines) {
+            return false;
+        }
+        for (int col = 0; col < type.getDimension(); col++) {
+            for (int row = 0; row < type.getDimension(); row++) {
+                if (type.kind_of_type(col, row, rotate) && isBusy(x + col, y + row)) {
+                    return false;
+                }
+            }
+        }
+        return true;
+    }
+
+    /**
+     * Adds a piece to the game board.
+     *
+     * @param type     The type of piece to place.
+     * @param x        The x coordinate of the piece.
+     * @param y        The y coordinate of the piece.
+     * @param rotate The rotation of the piece.
+     */
+    public void addPiece(Types type, int x, int y, int rotate) {
+        for (int col = 0; col < type.getDimension(); col++) {
+            for (int row = 0; row < type.getDimension(); row++) {
+                if (type.kind_of_type(col, row, rotate)) {
+                    setTile(col + x, row + y, type);
+                }
+            }
+        }
+    }
+
+    /**
+     * Checks the board to see if any lines have been cleared, and removes them.
+     *
+     * @return The number of lines that were cleared.
+     */
+    public int checkLines() {
+        int completed = 0;
+        for (int row = 0; row < lines; row++) {
+            if (checkLine(row)) {
+                completed++;
+            }
+        }
+        return completed;
+    }
+
+    /**
+     * Checks whether or not row is full.
+     *
+     * @param line The row to check.
+     * @return Whether or not this row is full.
+     */
+    private boolean checkLine(int line) {
+        for (int col = 0; col < columns; col++) {
+            if (!isBusy(col, line)) {
+                return false;
+            }
+        }
+
+        for (int row = line - 1; row >= 0; row--) {
+            for (int col = 0; col < columns; col++) {
+                setTile(col, row + 1, getTile(col, row));
+            }
+        }
+        return true;
+    }
+
+    /**
+     * Checks to see if the tile is already occupied.
+     *
+     * @param x The column.
+     * @param y The row.
+     * @return Whether or not the tile is occupied.
+     */
+    public boolean isBusy(int x, int y) {
+        return tiles[y][x] != null;
+    }
+
+    public boolean isBusy1(int x, int y) {
+        return tiles[y - 1][x] != null;
+    }
+
+    public boolean isBusy2(int x, int y) {
+        return tiles[y - 2][x] != null;
+    }
+
+    /**
+     * Sets a tile located at the desired column and row.
+     *
+     * @param x    The column.
+     * @param y    The row.
+     * @param type The value to set to the tile to.
+     */
+    private void setTile(int x, int y, Types type) {
+        tiles[y][x] = type;
+    }
+
+    /**
+     * Gets a tile by it's column and row.
+     *
+     * @param x The column.
+     * @param y The row.
+     * @return The tile.
+     */
+    private Types getTile(int x, int y) {
+        return tiles[y][x];
+    }
+
+    /**
+     * Draw the current tile and grid for best display. Also write a text after the game or before it.
+     *
+     * @param g The graphics object.
+     */
+    @Override
+    public void paintComponent(Graphics g) {
+        super.paintComponent(g);
+        if (tetris.newGame() || tetris.gameOver()) {
+            g.setColor(Color.WHITE);
+            String msg = tetris.newGame() ? "TETRIS" : "GAME OVER";
+            g.drawString(msg, 90, 150);
+        } else {
+            for (int x = 0; x < columns; x++) {
+                for (int y = linesOfTheDesk; y < lines; y++) {
+                    Types tile = getTile(x, y);
+                    if (tile != null) {
+                        drawTile(tile, x * blockSize, (y - linesOfTheDesk) * blockSize, g);
+                    }
+                }
+            }
+            Types type = tetris.getPieceType();
+            int pieceCol = tetris.getPieceCol();
+            int pieceRow = tetris.getPieceRow();
+            int rotate = tetris.getPieceRotate();
+            for (int col = 0; col < type.getDimension(); col++) {
+                for (int row = 0; row < type.getDimension(); row++) {
+                    if (pieceRow + row >= 2 && type.kind_of_type(col, row, rotate)) {
+                        drawTile(type, (pieceCol + col) * blockSize,
+                                (pieceRow + row - linesOfTheDesk) * blockSize, g);
+                    }
+                }
+            }
+            g.setColor(Color.GRAY);
+            for (int x = 0; x < columns; x++) {
+                for (int y = 0; y < linesOnDesk; y++) {
+                    g.drawLine(0, y * blockSize, columns * blockSize, y * blockSize);
+                    g.drawLine(x * blockSize, 0, x * blockSize, linesOnDesk * blockSize);
+                }
+            }
+        }
+        g.setColor(Color.WHITE);
+        g.drawRect(0, 0, blockSize * columns, blockSize * linesOnDesk);
+    }
+
+    /**
+     * Draws a tile onto the board.
+     *
+     * @param type The type of tile to draw.
+     * @param x    The column.
+     * @param y    The row.
+     * @param g    The graphics object.
+     */
+    private void drawTile(Types type, int x, int y, Graphics g) {
+        drawTile(type.getBaseColor(), type.getLightColor(), type.getDarkColor(), x, y, g);
+    }
+
+    /**
+     * Draws a rectangle onto the board.
+     *
+     * @param base  The base color of rectangle.
+     * @param light The light color.
+     * @param dark  The dark color.
+     * @param x     The column.
+     * @param y     The row.
+     * @param g     The graphics object.
+     */
+    private void drawTile(Color base, Color light, Color dark, int x, int y, Graphics g) {
+        g.setColor(base);
+        g.fillRect(x, y, blockSize, blockSize);
+    }
+
+}
diff --git a/MyTetris/src/tetris/Panels.java b/MyTetris/src/tetris/Panels.java
new file mode 100644
index 0000000..ecef3f8
--- /dev/null
+++ b/MyTetris/src/tetris/Panels.java
@@ -0,0 +1,74 @@
+package tetris;
+
+import javax.swing.*;
+import java.awt.*;
+
+/**
+ * The class is responsible for displaying various information.
+ */
+public class Panels extends JPanel {
+
+    private static final long serialVersionUID = 0;
+
+    private TetrisGame tetris;
+
+    /**
+     * Creates a new panel and sets it's display properties.
+     *
+     * @param tetris The tetris use.
+     */
+    public Panels(TetrisGame tetris) {
+        int shape = 200;
+        this.tetris = tetris;
+        setPreferredSize(new Dimension(shape, shape));
+        setBackground(Color.darkGray);
+    }
+
+    /**
+     * Display information such as the next piece, the score and current level.
+     *
+     * @param g The graphics object.
+     */
+    @Override
+    public void paintComponent(Graphics g) {
+        int rect = 80;
+        int x1 = 20;
+        int y1 = 200, y2 = 230, y3 = 70;
+        super.paintComponent(g);
+        g.setColor(Color.ORANGE);
+        g.drawString("Level:        " + tetris.getLevel(), x1, y1);
+        g.drawString("Score:       " + tetris.getScore(), x1, y2);
+        g.drawString("Next:", x1, y3);
+        g.drawRect(rect, rect, rect, rect);
+        Types type = tetris.getNextPieceType();
+        if (!tetris.gameOver() && type != null) {
+            int dimension = type.getDimension();
+            int x = 100;
+            int y = 105;
+            int pixel = 12;
+            int top = type.getTopInset(0);
+            int left = type.getLeftInset(0);
+            for (int row = 0; row < dimension; row++) {
+                for (int col = 0; col < dimension; col++) {
+                    if (type.kind_of_type(col, row, 0)) {
+                        drawTile(type, x + ((col - left) * pixel), y + ((row - top) * pixel), g);
+                    }
+                }
+            }
+        }
+    }
+
+    /**
+     * Draws a tile onto the preview window.
+     *
+     * @param type The type of tile to draw.
+     * @param x    The x coordinate of the tile.
+     * @param y    The y coordinate of the tile.
+     * @param g    The graphics object.
+     */
+    private void drawTile(Types type, int x, int y, Graphics g) {
+        int height = 15, width = 15;
+        g.setColor(type.getBaseColor());
+        g.fillRect(x, y, width, height);
+    }
+}
diff --git a/MyTetris/src/tetris/TetrisGame.java b/MyTetris/src/tetris/TetrisGame.java
new file mode 100644
index 0000000..f117599
--- /dev/null
+++ b/MyTetris/src/tetris/TetrisGame.java
@@ -0,0 +1,792 @@
+package tetris;
+
+import javax.swing.*;
+import javax.swing.plaf.metal.MetalLookAndFeel;
+import java.awt.*;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.KeyAdapter;
+import java.awt.event.KeyEvent;
+import java.io.*;
+import java.util.ArrayList;
+import java.util.Random;
+
+/**
+ * The class is responsible for handling much of the game logic and reading user input.
+ */
+public class TetrisGame {
+
+  private FileWriter writer;
+  FileReader reader;
+  private boolean newFigure;
+  File f;
+  java.util.List<Notation> notations;
+  private boolean replay;
+
+  /**
+   * This is the panel with the game board.
+   */
+  protected Panel theFirstPanel;
+  /**
+   * This is the panel with the next figure and score.
+   */
+  protected Panels theSecondPanel;
+  /**
+   * Whether or not the game is paused.
+   */
+  protected boolean pause;
+  /**
+   * Whether or not we've played a game.
+   */
+  protected boolean newGame;
+  /**
+   * Whether or not the game is over.
+   */
+  protected boolean gameOver;
+
+
+  protected boolean glas = false;
+
+  protected boolean AI;
+  /**
+   * The current score.
+   */
+  protected int score;
+  /**
+   * The current level.
+   */
+  protected int level;
+  /**
+   * The random number generator.
+   */
+  protected Random random;
+  /**
+   * The clock used for updating logic.
+   */
+  protected Time timer;
+  /**
+   * The current type of tile.
+   */
+  protected Types curType;
+  /**
+   * The next type of tile.
+   */
+  protected Types nextType;
+  /**
+   * The current column of tile.
+   */
+  protected int curCol;
+  /**
+   * The current row of tile.
+   */
+  protected int curRow;
+  /**
+   * The current rotation of tile.
+   */
+  protected int curRotate;
+  /**
+   * Provides a certain amount of time passes after the piece is generated.
+   */
+  protected int dropCooldown;
+  /**
+   * The speed of the game.
+   */
+  protected float gameSpeed;
+  /**
+   * The number of pieces that exist.
+   */
+  protected static final int type = Types.values().length;
+
+  public File file;
+  /**
+   * The number of figures that exist in file
+   */
+  protected int number = 1;
+
+  public JFrame frame;
+
+  /**
+   * Sets up the window's properties and adds a controller listener.
+   */
+  TetrisGame() {
+
+    newFigure = true;
+    replay = false;
+
+    frame = new JFrame("Tetris");
+    frame.setLayout(new BorderLayout());
+    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+    frame.setResizable(false);
+    KeyGetter.loadKeys();
+
+    JMenuBar menuBar = new JMenuBar();
+    JMenu menu = new JMenu("File");
+    JMenuItem itemNewGame = new JMenuItem("New");
+    itemNewGame.addActionListener(new NewGameButtonListener());
+    JMenuItem itemPauseGame = new JMenuItem("Pause");
+    itemPauseGame.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_P, ActionEvent.CTRL_MASK));
+    itemPauseGame.addActionListener(new PauseGameButtonListener());
+    JMenuItem itemOpenGame = new JMenuItem("Open");
+    itemOpenGame.addActionListener(new openListener());
+    JMenuItem itemSaveGame = new JMenuItem("Save");
+    // itemSaveGame.addActionListener(new saveListener());
+    JMenuItem gameAI = new JMenuItem("GameAI");
+    gameAI.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_L, ActionEvent.CTRL_MASK));
+    gameAI.addActionListener(new gameAIListener());
+
+    JMenuItem replay = new JMenuItem("Replay");
+    replay.addActionListener(new replayListener());
+
+    JMenuItem options = new JMenuItem("Options");
+    options.addActionListener(new OptionsListener());
+    JMenuItem itemInformation = new JMenuItem("About us");
+    itemInformation.addActionListener(new InformationListener());
+    JMenuItem itemExitGame = new JMenuItem("Exit");
+    itemExitGame.addActionListener(new ExitButtonListener());
+    menu.add(itemNewGame);
+    menu.add(itemPauseGame);
+    menu.add(itemOpenGame);
+    menu.add(itemSaveGame);
+    menu.add(gameAI);
+    menu.add(options);
+    menu.add(itemInformation);
+    menu.add(itemExitGame);
+    menu.add(replay);
+
+    JMenu otherMenu = new JMenu("Look and Feel");
+    JMenuItem metalLookAndFeel = new JMenuItem("Metal");
+    metalLookAndFeel.addActionListener(new MetalLookAndFeelListener());
+    JMenuItem systemLookAndFeel = new JMenuItem("System");
+    systemLookAndFeel.addActionListener(new SystemLookAndFeelListener());
+    otherMenu.add(metalLookAndFeel);
+    otherMenu.add(systemLookAndFeel);
+
+    menu.add(new JSeparator(JSeparator.NORTH));
+    frame.setJMenuBar(menuBar);
+    this.theFirstPanel = new Panel(this);
+    this.theSecondPanel = new Panels(this);
+    menuBar.add(menu, BorderLayout.NORTH);
+    menuBar.add(otherMenu, BorderLayout.NORTH);
+    frame.add(theFirstPanel, BorderLayout.CENTER);
+    frame.add(theSecondPanel, BorderLayout.EAST);
+    frame.setTitle("Tetris. Play with us!");
+    new scoreUpdate();
+
+    frame.addKeyListener(keyAdapter);
+    frame.pack();
+    frame.setLocationRelativeTo(null);
+    frame.setVisible(true);
+  }
+
+  /**
+   * Starts the game running, initializes all and enters the game loop.
+   */
+  protected void startGame() {
+    this.random = new Random();
+    this.newGame = true;
+    this.AI = false;
+    this.gameSpeed = 1.0f;
+    this.timer = new Time(gameSpeed);
+    timer.setPause(true);
+
+    while (true) {
+      System.currentTimeMillis();
+      timer.update();
+      if (timer.elapsedCycle()) {
+        updateGame();
+      }
+      if (dropCooldown > 0) {
+        dropCooldown--;
+      }
+      renderGame();
+    }
+  }
+
+  /**
+   * Updates the bot.
+   */
+  protected void updateGame() {
+    if (AI && !replay) {
+      if (theFirstPanel.isEmpty(curType, curCol, curRow + 1, curRotate)) {
+        curCol = 0;
+        curRow++;
+        for (int row = curRow; row < Panel.lines; row++) {
+          for (int col = curCol; col < Panel.columns; col++) {
+            if (theFirstPanel.isBusy1(col, row)) {
+              while (theFirstPanel.isBusy1(col, row))
+                col++;
+              // if(theFirstPanel.isBusy2(col, row)) row++;
+            }
+            if (!theFirstPanel.isBusy(col, row)) {
+              if (theFirstPanel.isEmpty(curType, col, curRow, curRotate)) {
+                curCol = col;
+                break;
+              }
+            }
+          }
+        }
+
+        printNotation(createNotation());
+
+      } else {
+        up();
+      }
+    } else if (replay) {
+      Notation nextNotation = getNextNotation();
+      if (nextNotation == null) {
+        replay = false;
+        pause = !pause;
+        timer.setPause(pause);
+      } else {
+        int col = nextNotation.getCol();
+        int row = nextNotation.getRow();
+        Types type = nextNotation.getEnumType();
+        Types t =  nextNotation.getEnumNextType();
+        this.gameSpeed = 2f;
+        if (theFirstPanel.isEmpty(curType, curCol, curRow + 1, curRotate)) {
+          curRow++;
+
+          if (nextNotation.getNumber() == number) {
+            curCol = col;
+            curRow = row;
+            curRotate = 0;
+            curType = type;
+            nextType = t;
+            number++;
+          }
+        } else {
+          up();
+        }
+      }
+    } else {
+      if (theFirstPanel.isEmpty(curType, curCol, curRow + 1, curRotate)) {
+        curRow++;
+      } else {
+        up();
+      }
+    }
+  }
+
+  private void printNotation(Notation notation) {
+    // 1-id 2-number 3-col 4-row 5-type 6-next type
+    try {
+      String s = notation.getId() + " " + notation.getNumber() + " " + notation.getCol() + " "
+          + notation.getRow() + " " + notation.getType() + " " + notation.getNextType();
+      System.out.println(s);
+      writer.write(s);
+      writer.append('\r');
+      writer.append('\n');
+      writer.flush();
+    } catch (IOException e) {
+      e.printStackTrace();
+    }
+  }
+
+  private Notation createNotation() {
+    Notation notation = new Notation(curCol, curRow, curType, nextType, newFigure);
+    if (newFigure) {
+      newFigure = false;
+    }
+    return notation;
+  }
+
+  private Notation getNextNotation() {
+    if (notations.size() > 0) {
+      return notations.remove(0);
+    }
+    return null;
+  }
+
+  private void initAllNotations() {
+    char[] buffer = new char[(int) f.length()];
+    try {
+      reader.read(buffer);
+    } catch (IOException e) {
+      e.printStackTrace();
+    }
+    String s = new String(buffer);
+    String[] split = s.split("\r\n");
+    notations = new ArrayList<Notation>();
+    for (String s1 : split) {
+      String[] split1 = s1.split(" ");
+      Notation notation = new Notation(Integer.parseInt(split1[2]), // col
+          Integer.parseInt(split1[3]), // row
+          Integer.parseInt(split1[4]), // type
+          Integer.parseInt(split1[0]), // id
+          Integer.parseInt(split1[1]), // number of figure
+          Integer.parseInt(split1[5])// next type
+      );
+      notations.add(notation);
+    }
+  }
+
+  private void replay() {
+    replay = true;
+    f = new File("D:\\notations.txt");
+    try {
+      reader = new FileReader("D:\\notations.txt");
+    } catch (FileNotFoundException e) {
+      e.printStackTrace();
+    }
+    initAllNotations();
+    resetGame();
+  }
+
+  /**
+   * Updates the game and handles part of it's logic.
+   */
+  public void up() {
+    theFirstPanel.addPiece(curType, curCol, curRow, curRotate);
+    // scores();
+    glas = true;
+    synchronized (theFirstPanel) {
+      spawnPiece();
+    }
+  }
+
+  public void scores() {
+    int cleared = theFirstPanel.checkLines();
+    if (cleared > 0) {
+      score += 25 << cleared;
+      gameSpeed += 0.1f;
+    }
+    timer.setCycles(gameSpeed);
+    timer.setTime();
+    dropCooldown = 20;
+    level = (int) (gameSpeed * 1.60f);
+  }
+
+  /**
+   * Forces the panels to repaint.
+   */
+  protected void renderGame() {
+    theFirstPanel.repaint();
+    theSecondPanel.repaint();
+  }
+
+  /**
+   * Resets the game variables to their default values at the start of a new game.
+   */
+  protected void resetGame() {
+    this.level = 1;
+    this.score = 0;
+    this.AI = false;
+    this.gameSpeed = 1.0f;
+    this.nextType = Types.values()[random.nextInt(type)];
+    this.newGame = false;
+    this.gameOver = false;
+    theFirstPanel.clear();
+    timer.setTime();
+    timer.setCycles(gameSpeed);
+    spawnPiece();
+  }
+
+  /**
+   * Spawns a new piece and resets our piece's variables to their default values.
+   */
+  protected void spawnPiece() {
+
+    newFigure = true;
+    this.curType = nextType;
+    this.curCol = curType.getSpawnColumn();
+    this.curRow = curType.getSpawnRow();
+    this.nextType = Types.values()[random.nextInt(type)];
+    if (!theFirstPanel.isEmpty(curType, curCol, curRow, curRotate)) {
+      this.gameOver = true;
+      timer.setPause(true);
+    }
+  }
+
+  /**
+   * Set the rotation of the current piece to newRotation.
+   *
+   * @param newRotate The rotation of the new piece.
+   */
+  private void RotatePiece(int newRotate) {
+    int newCol = curCol;
+    int newRow = curRow;
+    int left = curType.getLeftInset(newRotate);
+    int right = curType.getRightInset(newRotate);
+    int top = curType.getTopInset(newRotate);
+    int bottom = curType.getBottomInset(newRotate);
+    if (curCol < -left) {
+      newCol -= curCol - left;
+    } else if (curCol + curType.getDimension() - right >= Panel.columns) {
+      newCol -= (curCol + curType.getDimension() - right) - Panel.columns + 1;
+    }
+    if (curRow < -top) {
+      newRow -= curRow - top;
+    } else if (curRow + curType.getDimension() - bottom >= Panel.lines) {
+      newRow -= (curRow + curType.getDimension() - bottom) - Panel.lines + 1;
+    }
+    if (theFirstPanel.isEmpty(curType, newCol, newRow, newRotate)) {
+      curRotate = newRotate;
+      curRow = newRow;
+      curCol = newCol;
+    }
+  }
+
+  /**
+   * Adds a custom anonymous KeyListener to the frame. We set the settings yourself, but some keys
+   * are used for the default game.
+   */
+  KeyAdapter keyAdapter = new KeyAdapter() {
+    public void keyPressed(KeyEvent e) {
+      if (!AI && !replay) {
+        if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.down)) {
+          if (!pause && dropCooldown == 0) {
+            timer.setCycles(25.0f);
+          }
+        } else if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.left)) {
+          if (!pause && theFirstPanel.isEmpty(curType, curCol - 1, curRow, curRotate)) {
+            curCol--;
+          }
+        } else if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.right)) {
+          if (!pause && theFirstPanel.isEmpty(curType, curCol + 1, curRow, curRotate)) {
+            curCol++;
+          }
+        } else if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.pause)) {
+          if (!gameOver && !newGame) {
+            pause = !pause;
+            timer.setPause(pause);
+          }
+        } else if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.rotateLeft)) {
+          if (!pause) {
+            RotatePiece((curRotate == 0) ? 3 : curRotate - 1);
+          }
+        } else if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.rotateRight)) {
+          if (!pause) {
+            RotatePiece((curRotate == 3) ? 0 : curRotate + 1);
+          }
+        } else if (KeyEvent.getKeyText(e.getKeyCode()).equals(Configuration.game)) {
+          resetGame();
+        } else {
+          switch (e.getKeyCode()) {
+            case KeyEvent.VK_DOWN:
+              if (!pause && dropCooldown == 0) {
+                timer.setCycles(25.0f);
+              }
+              break;
+            case KeyEvent.VK_LEFT:
+              if (!pause && theFirstPanel.isEmpty(curType, curCol - 1, curRow, curRotate)) {
+                curCol--;
+              }
+              break;
+            case KeyEvent.VK_RIGHT:
+              if (!pause && theFirstPanel.isEmpty(curType, curCol + 1, curRow, curRotate)) {
+                curCol++;
+              }
+              break;
+            case KeyEvent.VK_P:
+              if (!gameOver && !newGame) {
+                pause = !pause;
+                timer.setPause(pause);
+              }
+              break;
+            case KeyEvent.VK_SPACE:
+              if (!pause) {
+                RotatePiece((curRotate == 0) ? 3 : curRotate - 1);
+              }
+              break;
+            case KeyEvent.VK_UP:
+              if (!pause) {
+                RotatePiece((curRotate == 3) ? 0 : curRotate + 1);
+              }
+              break;
+            case KeyEvent.VK_ENTER:
+              if (gameOver || newGame) {
+                resetGame();
+              }
+              break;
+          }
+        }
+      }
+    }
+  };
+
+  /**
+   * Set the style of our window.
+   */
+  private class SystemLookAndFeelListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      try {
+        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
+      } catch (Exception ex) {
+      }
+    }
+  }
+
+  /**
+   * Opening saved game
+   */
+  private class openListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {}
+  }
+
+  /**
+   * Saving gamefield
+   */
+  public class saveListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      try {
+        String string = new String();
+        string =
+            Integer.toString(curCol) + Integer.toString(curRow) + Integer.toString(curRotate) + ';';
+        String homeDir = "C:\\Users\\u\\Documents\\MyTetris\\Player";
+        JFileChooser fileChooser = new JFileChooser();
+        fileChooser.setCurrentDirectory(new File(homeDir));
+        fileChooser.showSaveDialog(frame);
+        File file = fileChooser.getSelectedFile();
+        file = new File(file.getPath() + ".txt");
+        FileOutputStream fileStream = new FileOutputStream(file);
+        ObjectOutputStream objectStream = new ObjectOutputStream(fileStream);
+        objectStream.writeObject(curType);
+        fileStream.write(string.getBytes(), 0, string.length());
+        objectStream.close();
+        fileStream.close();
+      } catch (Exception exception) {
+        exception.printStackTrace();
+      }
+    }
+  }
+
+
+  /**
+   * Set the style of our window.
+   */
+  private class MetalLookAndFeelListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      try {
+        MetalLookAndFeel look = new MetalLookAndFeel();
+        UIManager.setLookAndFeel(look);
+      } catch (Exception ex) {
+      }
+    }
+  }
+
+  /**
+   * Start the new game in menu.
+   */
+  private class NewGameButtonListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      resetGame();
+    }
+  }
+
+  /**
+   * Some information about author. Set the window with this information and button for exit.
+   */
+  private class InformationListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      JFrame we = new JFrame("About us");
+      we.setLayout(new FlowLayout());
+      we.setSize(450, 150);
+      we.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
+      JLabel text = new JLabel("Game was created by Varenik corporation.");
+      JLabel email =
+          new JLabel("With all suggestions please contact with us " + "by andre.war@mail.ru");
+      we.add(text);
+      we.add(email);
+      JButton okay = new JButton("Okay");
+      okay.addActionListener(new ExitButtonListener());
+      we.add(okay);
+      we.pack();
+      we.setLocationRelativeTo(null);
+      we.setVisible(true);
+    }
+  }
+
+  private class gameAIListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      resetGameForBot();
+    }
+  }
+
+  protected void resetGameForBot() {
+    // initialize FileWriter(change directory)
+    f = new File("D:\\notations.txt");
+    try {
+      // change to true to switch on append
+      writer = new FileWriter("D:\\notations.txt", false);
+    } catch (IOException e) {
+      e.printStackTrace();
+    }
+    this.level = 1;
+    this.score = 0;
+    this.gameSpeed = 1.0f;
+    this.nextType = Types.values()[random.nextInt(type)];
+    this.newGame = false;
+    this.gameOver = false;
+    theFirstPanel.clear();
+    timer.setTime();
+    timer.setCycles(gameSpeed);
+    this.AI = true;
+    spawnPiece();
+  }
+
+  private class replayListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      replay();
+    }
+  }
+
+  /**
+   * Pause our game with helping menu.
+   */
+  private class PauseGameButtonListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      pause = !pause;
+      timer.setPause(pause);
+    }
+  }
+
+  /**
+   * Open options and set the keys for game.
+   */
+  private class OptionsListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      Configuration.openConfig(null);
+    }
+  }
+
+  /**
+   * Exit from game.
+   */
+  private class ExitButtonListener implements ActionListener {
+    public void actionPerformed(ActionEvent event) {
+      System.exit(0);
+    }
+  }
+
+  /**
+   * Checks to see whether or not the game is over.
+   *
+   * @return Whether or not the game is over.
+   */
+  public boolean gameOver() {
+    return gameOver;
+  }
+
+  /**
+   * Checks to see whether or not the game started.
+   *
+   * @return Whether or not the game started.
+   */
+  public boolean newGame() {
+    return newGame;
+  }
+
+  public boolean AI() {
+    return AI;
+  }
+
+  /**
+   * Checks to see whether or not the game is paused.
+   *
+   * @return Whether or not the game is paused.
+   */
+  public boolean pause() {
+    return pause;
+  }
+
+  /**
+   * Gets the current score.
+   *
+   * @return The score.
+   */
+  public int getScore() {
+    return score;
+  }
+
+  /**
+   * Gets the current level.
+   *
+   * @return The level.
+   */
+  public int getLevel() {
+    return level;
+  }
+
+  /**
+   * Gets the current type of piece we're using.
+   *
+   * @return The piece type.
+   */
+  public Types getPieceType() {
+    return curType;
+  }
+
+  /**
+   * Gets the current type of piece we'll use.
+   *
+   * @return The piece type.
+   */
+  public Types getNextPieceType() {
+    return nextType;
+  }
+
+  /**
+   * Gets the column of the current piece.
+   *
+   * @return The column.
+   */
+  public int getPieceCol() {
+    return curCol;
+  }
+
+  /**
+   * Gets the row of the current piece.
+   *
+   * @return The row.
+   */
+  public int getPieceRow() {
+    return curRow;
+  }
+
+  /**
+   * Gets the rotation of the current piece.
+   *
+   * @return The rotation.
+   */
+  public int getPieceRotate() {
+    return curRotate;
+  }
+
+  public Panel getPanel() {
+    return theFirstPanel;
+  }
+
+  private class scoreUpdate implements Runnable {
+
+    Thread update = null;
+
+    public scoreUpdate() {
+      if (update == null) {
+        update = new Thread(this);
+        update.start();
+      }
+    }
+
+    @Override
+    public void run() {
+      while (true) {
+        synchronized (theFirstPanel) {
+          if (glas) {
+            scores();
+            glas = false;
+          }
+        }
+      }
+    }
+  }
+
+  /**
+   * Entry-point of the game that responsible for creating and starting a new game.
+   *
+   * @param args Unused.
+   */
+  public static void main(String[] args) {
+    TetrisGame tetris = new TetrisGame();
+    tetris.startGame();
+  }
+}
diff --git a/MyTetris/src/tetris/Time.java b/MyTetris/src/tetris/Time.java
new file mode 100644
index 0000000..084761a
--- /dev/null
+++ b/MyTetris/src/tetris/Time.java
@@ -0,0 +1,89 @@
+package tetris;
+
+/**
+ * The class is responsible for tracking the number of cycles that have elapsed.
+ */
+public class Time {
+    private float perCycle;
+    private long last;
+    private int endCycle;
+    private float normalCycles;
+    private boolean pause;
+
+    /**
+     * Creates a new clock and sets it's cycles-per-second.
+     *
+     * @param cycles The number of cycles that elapse per second.
+     */
+    public Time(float cycles) {
+        setCycles(cycles);
+        setTime();
+    }
+
+    /**
+     * Number of cycles that elapse per second.
+     *
+     * @param cycles The number of cycles per second.
+     */
+    public void setCycles(float cycles) {
+        this.perCycle = (1 / cycles) * 1000;
+    }
+
+    /**
+     * Resets the timer stats.
+     */
+    public void setTime() {
+        this.endCycle = 0;
+        this.normalCycles = 0.0f;
+        this.last = getCurrentTime();
+        this.pause = false;
+    }
+
+    /**
+     * Updates the clock stats. Calculated only if the timer is not paused.
+     */
+    public void update() {
+        long curr = getCurrentTime();
+        float difference = (float) (curr - last) + normalCycles;
+        if (pause == false) {
+            this.endCycle += difference / perCycle;
+            this.normalCycles = difference % perCycle;
+        }
+        this.last = curr;
+    }
+
+    private final long getCurrentTime() {
+        return (System.currentTimeMillis());
+    }
+
+    /**
+     * Pauses or unpauses the timer.
+     *
+     * @param paused Whether or not to pause this clock.
+     */
+    public void setPause(boolean paused) {
+        this.pause = paused;
+    }
+
+    /**
+     * See if the clock is currently paused.
+     *
+     * @return Whether or not this clock is paused.
+     */
+    public boolean pause() {
+        return pause;
+    }
+
+    /**
+     * Checks to see if a cycle has elapsed for this timer.
+     *
+     * @return Whether or not a cycle has elapsed.
+     */
+    public boolean elapsedCycle() {
+        if (endCycle > 0) {
+            this.endCycle--;
+            return true;
+        }
+        return false;
+    }
+}
diff --git a/MyTetris/src/tetris/Types.java b/MyTetris/src/tetris/Types.java
new file mode 100644
index 0000000..bd2f2d3
--- /dev/null
+++ b/MyTetris/src/tetris/Types.java
@@ -0,0 +1,317 @@
+package tetris;
+
+import java.awt.Color;
+
+/**
+ * The enum class is responsible for the properties of the various pieces that can be used in the game.
+ */
+public enum Types {
+    Type1(new Color(0, 220, 220), 4, new boolean[][]{
+            {
+                    false, false, false, false,
+                    true, true, true, true,
+                    false, false, false, false,
+                    false, false, false, false,
+            },
+            {
+                    false, false, true, false,
+                    false, false, true, false,
+                    false, false, true, false,
+                    false, false, true, false,
+            },
+            {
+                    false, false, false, false,
+                    false, false, false, false,
+                    true, true, true, true,
+                    false, false, false, false,
+            },
+            {
+                    false, true, false, false,
+                    false, true, false, false,
+                    false, true, false, false,
+                    false, true, false, false,
+            }
+    }),
+    Type2(new Color(50, 35, 220), 3, new boolean[][]{
+            {
+                    true, false, false,
+                    true, true, true,
+                    false, false, false,
+            },
+            {
+                    false, true, true,
+                    false, true, false,
+                    false, true, false,
+            },
+            {
+                    false, false, false,
+                    true, true, true,
+                    false, false, true,
+            },
+            {
+                    false, true, false,
+                    false, true, false,
+                    true, true, false,
+            }
+    }),
+    Type3(new Color(128, 255, 128), 3, new boolean[][]{
+            {
+                    false, false, true,
+                    true, true, true,
+                    false, false, false,
+            },
+            {
+                    false, true, false,
+                    false, true, false,
+                    false, true, true,
+            },
+            {
+                    false, false, false,
+                    true, true, true,
+                    true, false, false,
+            },
+            {
+                    true, true, false,
+                    false, true, false,
+                    false, true, false,
+            }
+    }),
+    Type4(new Color(35, 220, 35), 2, new boolean[][]{
+            {
+                    true, true,
+                    true, true,
+            },
+            {
+                    true, true,
+                    true, true,
+            },
+            {
+                    true, true,
+                    true, true,
+            },
+            {
+                    true, true,
+                    true, true,
+            }
+    }),
+    Type5(new Color(255, 0, 0), 3, new boolean[][]{
+            {
+                    false, true, true,
+                    true, true, false,
+                    false, false, false,
+            },
+            {
+                    false, true, false,
+                    false, true, true,
+                    false, false, true,
+            },
+            {
+                    false, false, false,
+                    false, true, true,
+                    true, true, false,
+            },
+            {
+                    true, false, false,
+                    true, true, false,
+                    false, true, false,
+            }
+    }),
+    Type6(new Color(255, 128, 128), 3, new boolean[][]{
+            {
+                    false, true, false,
+                    true, true, true,
+                    false, false, false,
+            },
+            {
+                    false, true, false,
+                    false, true, true,
+                    false, true, false,
+            },
+            {
+                    false, false, false,
+                    true, true, true,
+                    false, true, false,
+            },
+            {
+                    false, true, false,
+                    true, true, false,
+                    false, true, false,
+            }
+    }),
+    Type7(new Color(220, 35, 240), 3, new boolean[][]{
+            {
+                    true, true, false,
+                    false, true, true,
+                    false, false, false,
+            },
+            {
+                    false, false, true,
+                    false, true, true,
+                    false, true, false,
+            },
+            {
+                    false, false, false,
+                    true, true, false,
+                    false, true, true,
+            },
+            {
+                    false, true, false,
+                    true, true, false,
+                    true, false, false,
+            }
+    });
+    private Color baseColor;
+    private Color lightColor;
+    private Color darkColor;
+    private int spawnCol;
+    private int spawnRow;
+    private int dimension;
+    private boolean[][] tiles;
+
+    /**
+     * Creates a new TileType.
+     *
+     * @param color     The base color of the tile.
+     * @param dimension The dimensions of the tiles array.
+     * @param tiles     The tiles.
+     */
+    private Types(Color color, int dimension, boolean[][] tiles) {
+        this.baseColor = color;
+        this.lightColor = color.brighter();
+        this.darkColor = color.darker();
+        this.dimension = dimension;
+        this.tiles = tiles;
+        this.spawnCol = 5 - (dimension >> 1);
+        this.spawnRow = getTopInset(0);
+    }
+
+    /**
+     * Gets the base color of this type.
+     *
+     * @return The base color.
+     */
+    public Color getBaseColor() {
+        return baseColor;
+    }
+
+    /**
+     * Gets the light color of this type.
+     *
+     * @return The light color.
+     */
+    public Color getLightColor() {
+        return lightColor;
+    }
+
+    /**
+     * Gets the dark color of this type.
+     *
+     * @return The dark color.
+     */
+    public Color getDarkColor() {
+        return darkColor;
+    }
+
+    /**
+     * Gets the dimension of this type.
+     *
+     * @return The dimension.
+     */
+    public int getDimension() {
+        return dimension;
+    }
+
+    /**
+     * Gets the spawn column of this type.
+     *
+     * @return The spawn column.
+     */
+    public int getSpawnColumn() {
+        return spawnCol;
+    }
+
+    /**
+     * Gets the spawn row of this type.
+     *
+     * @return The spawn row.
+     */
+    public int getSpawnRow() {
+        return spawnRow;
+    }
+
+    /**
+     * Checks to see if the given coordinates and rotate contain a tile.
+     *
+     * @param x        The x coordinate of the tile.
+     * @param y        The y coordinate of the tile.
+     * @param rotate   To  rotate of our tile.
+     * @return Regardless of whether or not there tiles.
+     */
+    public boolean kind_of_type(int x, int y, int rotate) {
+        return tiles[rotate][y * dimension + x];
+    }
+
+    /**
+     * The left inset is represented by the number of empty columns on the left side.
+     *
+     * @param rotate To rotate.
+     * @return The left inset.
+     */
+    public int getLeftInset(int rotate) {
+        for (int x = 0; x < dimension; x++) {
+            for (int y = 0; y < dimension; y++) {
+                if (kind_of_type(x, y, rotate))
+                    return x;
+            }
+        }
+        return -1;
+    }
+
+    /**
+     * The right inset is represented by the number of empty columns on the right side.
+     *
+     * @param rotate To rotate.
+     * @return The right inset.
+     */
+    public int getRightInset(int rotate) {
+        for (int x = dimension - 1; x >= 0; x--) {
+            for (int y = 0; y < dimension; y++) {
+                if (kind_of_type(x, y, rotate))
+                    return dimension - x;
+            }
+        }
+        return -1;
+    }
+
+    /**
+     * The top inset is represented by the number of empty rows on the top side.
+     *
+     * @param rotate To rotate.
+     * @return The top inset.
+     */
+    public int getTopInset(int rotate) {
+        for (int y = 0; y < dimension; y++) {
+            for (int x = 0; x < dimension; x++) {
+                if (kind_of_type(x, y, rotate))
+                    return y;
+            }
+        }
+        return -1;
+    }
+
+    /**
+     * The botom inset is represented by the number of empty rows on the bottom side.
+     *
+     * @param rotate To rotate.
+     * @return The bottom inset.
+     */
+    public int getBottomInset(int rotate) {
+        for (int y = dimension - 1; y >= 0; y--) {
+            for (int x = 0; x < dimension; x++) {
+                if (kind_of_type(x, y, rotate))
+                    return dimension - y;
+            }
+        }
+        return -1;
+    }
+}
diff --git a/MyTetris/src/tetris/model.ucls b/MyTetris/src/tetris/model.ucls
new file mode 100644
index 0000000..ae0e7c8
--- /dev/null
+++ b/MyTetris/src/tetris/model.ucls
@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<class-diagram version="1.1.9" icons="true" always-add-relationships="false" generalizations="true" realizations="true" 
+  associations="true" dependencies="false" nesting-relationships="true" router="FAN">  
+  <class id="1" language="java" name="tetris.Configuration" project="MyTetris" 
+    file="/MyTetris/src/tetris/Configuration.java" binary="false" corner="BOTTOM_RIGHT">    
+    <position height="-1" width="-1" x="537" y="286"/>    
+    <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" 
+      sort-features="false" accessors="true" visibility="true">      
+      <attributes public="true" package="true" protected="true" private="true" static="true"/>      
+      <operations public="true" package="true" protected="true" private="true" static="true"/>    
+    </display>  
+  </class>  
+  <class id="2" language="java" name="tetris.KeyGetter" project="MyTetris" file="/MyTetris/src/tetris/KeyGetter.java" 
+    binary="false" corner="BOTTOM_RIGHT">    
+    <position height="-1" width="-1" x="990" y="87"/>    
+    <display autosize="true" stereotype="true" package="true" initial-value="false" signature="true" 
+      sort-features="false" accessors="true" visibility="true">      
+      <attributes public="true" package="true" protected="true" private="true" static="true"/>      
+      <operations public="true" package="true" protected="true" private="true" static="true"/>    
+    </display>  
+  </class>  
+  <class id="3" language="java" name="tetris.Panel" project="MyTetris" file="/MyTetris/src/tetris/Panel.java" 
+    binary="false" corner="BOTTOM_RIGHT">    
+    <position height="405" width="252" x="932" y="698"/>    
+    <display autosize="true" stereotype="true" package="true" initial-v