diff --git a/.idea/gradle_extensions.xml b/.idea/gradle_extensions.xml new file mode 100644 index 0000000..8217de7 --- /dev/null +++ b/.idea/gradle_extensions.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + Displays the components produced by root project 'kudens'. [incubating]<p><i>Task group: help<i> + Assembles and tests this project and all projects that depend on it.<p><i>Task group: build<i> + Displays the sub-projects of root project 'kudens'.<p><i>Task group: help<i> + Generates IDEA project files (IML, IPR, IWS)<p><i>Task group: IDE<i> + Assembles main classes.<p><i>Task group: build<i> + Displays all buildscript dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Generates Gradle wrapper files. [incubating]<p><i>Task group: Build Setup<i> + <i>Task group: other<i> + Assembles test classes.<p><i>Task group: build<i> + Generates Javadoc API documentation for the main source code.<p><i>Task group: documentation<i> + <i>Task group: other<i> + Assembles a jar archive containing the main classes.<p><i>Task group: build<i> + Displays the configuration model of root project 'kudens'. [incubating]<p><i>Task group: help<i> + Generates IDEA module files (IML)<p><i>Task group: other<i> + Processes main resources.<p><i>Task group: other<i> + Displays the tasks runnable from root project 'kudens'.<p><i>Task group: help<i> + Compiles the kotlin sources in source set 'main' to JavaScript.<p><i>Task group: other<i> + Initializes a new Gradle build. [incubating]<p><i>Task group: Build Setup<i> + Cleans IDEA project files (IML, IPR)<p><i>Task group: IDE<i> + Generates an IDEA workspace file (IWS)<p><i>Task group: other<i> + Runs the unit tests.<p><i>Task group: verification<i> + Compiles main Java source.<p><i>Task group: other<i> + Displays the insight into a specific dependency in root project 'kudens'.<p><i>Task group: help<i> + Runs all checks.<p><i>Task group: verification<i> + Assembles the outputs of this project.<p><i>Task group: build<i> + Deletes the build directory.<p><i>Task group: build<i> + Compiles test Java source.<p><i>Task group: other<i> + <i>Task group: other<i> + Displays all dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Processes test resources.<p><i>Task group: other<i> + Displays a help message.<p><i>Task group: help<i> + Assembles and tests this project.<p><i>Task group: build<i> + Installs the 'archives' artifacts into the local Maven repository.<p><i>Task group: other<i> + Assembles and tests this project and all projects it depends on.<p><i>Task group: build<i> + <i>Task group: other<i> + Publishes all publications produced by this project.<p><i>Task group: publishing<i> + Publishes all Maven publications produced by this project to the local Maven cache.<p><i>Task group: publishing<i> + Generates IDEA project file (IPR)<p><i>Task group: other<i> + Uploads all artifacts belonging to configuration ':archives'<p><i>Task group: upload<i> + Compiles the kotlin sources in source set 'test' to JavaScript.<p><i>Task group: other<i> + Displays the properties of root project 'kudens'.<p><i>Task group: help<i> + <i>Task group: other<i> + Configuration for archive artifacts. + Dependencies for source set 'main'. + Compile classpath for source set 'main'. + Compile dependencies for source set 'main'. + Configuration for default artifacts. + Runtime dependencies for source set 'main'. + Dependencies for source set 'test'. + Compile classpath for source set 'test'. + Compile dependencies for source set 'test'. + Runtime dependencies for source set 'test'. + + + + + + + \ No newline at end of file diff --git a/.idea/gradle_extensions.xml b/.idea/gradle_extensions.xml new file mode 100644 index 0000000..8217de7 --- /dev/null +++ b/.idea/gradle_extensions.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + Displays the components produced by root project 'kudens'. [incubating]<p><i>Task group: help<i> + Assembles and tests this project and all projects that depend on it.<p><i>Task group: build<i> + Displays the sub-projects of root project 'kudens'.<p><i>Task group: help<i> + Generates IDEA project files (IML, IPR, IWS)<p><i>Task group: IDE<i> + Assembles main classes.<p><i>Task group: build<i> + Displays all buildscript dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Generates Gradle wrapper files. [incubating]<p><i>Task group: Build Setup<i> + <i>Task group: other<i> + Assembles test classes.<p><i>Task group: build<i> + Generates Javadoc API documentation for the main source code.<p><i>Task group: documentation<i> + <i>Task group: other<i> + Assembles a jar archive containing the main classes.<p><i>Task group: build<i> + Displays the configuration model of root project 'kudens'. [incubating]<p><i>Task group: help<i> + Generates IDEA module files (IML)<p><i>Task group: other<i> + Processes main resources.<p><i>Task group: other<i> + Displays the tasks runnable from root project 'kudens'.<p><i>Task group: help<i> + Compiles the kotlin sources in source set 'main' to JavaScript.<p><i>Task group: other<i> + Initializes a new Gradle build. [incubating]<p><i>Task group: Build Setup<i> + Cleans IDEA project files (IML, IPR)<p><i>Task group: IDE<i> + Generates an IDEA workspace file (IWS)<p><i>Task group: other<i> + Runs the unit tests.<p><i>Task group: verification<i> + Compiles main Java source.<p><i>Task group: other<i> + Displays the insight into a specific dependency in root project 'kudens'.<p><i>Task group: help<i> + Runs all checks.<p><i>Task group: verification<i> + Assembles the outputs of this project.<p><i>Task group: build<i> + Deletes the build directory.<p><i>Task group: build<i> + Compiles test Java source.<p><i>Task group: other<i> + <i>Task group: other<i> + Displays all dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Processes test resources.<p><i>Task group: other<i> + Displays a help message.<p><i>Task group: help<i> + Assembles and tests this project.<p><i>Task group: build<i> + Installs the 'archives' artifacts into the local Maven repository.<p><i>Task group: other<i> + Assembles and tests this project and all projects it depends on.<p><i>Task group: build<i> + <i>Task group: other<i> + Publishes all publications produced by this project.<p><i>Task group: publishing<i> + Publishes all Maven publications produced by this project to the local Maven cache.<p><i>Task group: publishing<i> + Generates IDEA project file (IPR)<p><i>Task group: other<i> + Uploads all artifacts belonging to configuration ':archives'<p><i>Task group: upload<i> + Compiles the kotlin sources in source set 'test' to JavaScript.<p><i>Task group: other<i> + Displays the properties of root project 'kudens'.<p><i>Task group: help<i> + <i>Task group: other<i> + Configuration for archive artifacts. + Dependencies for source set 'main'. + Compile classpath for source set 'main'. + Compile dependencies for source set 'main'. + Configuration for default artifacts. + Runtime dependencies for source set 'main'. + Dependencies for source set 'test'. + Compile classpath for source set 'test'. + Compile dependencies for source set 'test'. + Runtime dependencies for source set 'test'. + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kotlin-webgl-test_main.iml b/.idea/modules/kotlin-webgl-test_main.iml new file mode 100644 index 0000000..61e01d4 --- /dev/null +++ b/.idea/modules/kotlin-webgl-test_main.iml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/gradle_extensions.xml b/.idea/gradle_extensions.xml new file mode 100644 index 0000000..8217de7 --- /dev/null +++ b/.idea/gradle_extensions.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + Displays the components produced by root project 'kudens'. [incubating]<p><i>Task group: help<i> + Assembles and tests this project and all projects that depend on it.<p><i>Task group: build<i> + Displays the sub-projects of root project 'kudens'.<p><i>Task group: help<i> + Generates IDEA project files (IML, IPR, IWS)<p><i>Task group: IDE<i> + Assembles main classes.<p><i>Task group: build<i> + Displays all buildscript dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Generates Gradle wrapper files. [incubating]<p><i>Task group: Build Setup<i> + <i>Task group: other<i> + Assembles test classes.<p><i>Task group: build<i> + Generates Javadoc API documentation for the main source code.<p><i>Task group: documentation<i> + <i>Task group: other<i> + Assembles a jar archive containing the main classes.<p><i>Task group: build<i> + Displays the configuration model of root project 'kudens'. [incubating]<p><i>Task group: help<i> + Generates IDEA module files (IML)<p><i>Task group: other<i> + Processes main resources.<p><i>Task group: other<i> + Displays the tasks runnable from root project 'kudens'.<p><i>Task group: help<i> + Compiles the kotlin sources in source set 'main' to JavaScript.<p><i>Task group: other<i> + Initializes a new Gradle build. [incubating]<p><i>Task group: Build Setup<i> + Cleans IDEA project files (IML, IPR)<p><i>Task group: IDE<i> + Generates an IDEA workspace file (IWS)<p><i>Task group: other<i> + Runs the unit tests.<p><i>Task group: verification<i> + Compiles main Java source.<p><i>Task group: other<i> + Displays the insight into a specific dependency in root project 'kudens'.<p><i>Task group: help<i> + Runs all checks.<p><i>Task group: verification<i> + Assembles the outputs of this project.<p><i>Task group: build<i> + Deletes the build directory.<p><i>Task group: build<i> + Compiles test Java source.<p><i>Task group: other<i> + <i>Task group: other<i> + Displays all dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Processes test resources.<p><i>Task group: other<i> + Displays a help message.<p><i>Task group: help<i> + Assembles and tests this project.<p><i>Task group: build<i> + Installs the 'archives' artifacts into the local Maven repository.<p><i>Task group: other<i> + Assembles and tests this project and all projects it depends on.<p><i>Task group: build<i> + <i>Task group: other<i> + Publishes all publications produced by this project.<p><i>Task group: publishing<i> + Publishes all Maven publications produced by this project to the local Maven cache.<p><i>Task group: publishing<i> + Generates IDEA project file (IPR)<p><i>Task group: other<i> + Uploads all artifacts belonging to configuration ':archives'<p><i>Task group: upload<i> + Compiles the kotlin sources in source set 'test' to JavaScript.<p><i>Task group: other<i> + Displays the properties of root project 'kudens'.<p><i>Task group: help<i> + <i>Task group: other<i> + Configuration for archive artifacts. + Dependencies for source set 'main'. + Compile classpath for source set 'main'. + Compile dependencies for source set 'main'. + Configuration for default artifacts. + Runtime dependencies for source set 'main'. + Dependencies for source set 'test'. + Compile classpath for source set 'test'. + Compile dependencies for source set 'test'. + Runtime dependencies for source set 'test'. + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kotlin-webgl-test_main.iml b/.idea/modules/kotlin-webgl-test_main.iml new file mode 100644 index 0000000..61e01d4 --- /dev/null +++ b/.idea/modules/kotlin-webgl-test_main.iml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kudens.iml b/.idea/modules/kudens.iml index 0487f52..8d44250 100644 --- a/.idea/modules/kudens.iml +++ b/.idea/modules/kudens.iml @@ -18,8 +18,8 @@ diff --git a/.idea/gradle_extensions.xml b/.idea/gradle_extensions.xml new file mode 100644 index 0000000..8217de7 --- /dev/null +++ b/.idea/gradle_extensions.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + Displays the components produced by root project 'kudens'. [incubating]<p><i>Task group: help<i> + Assembles and tests this project and all projects that depend on it.<p><i>Task group: build<i> + Displays the sub-projects of root project 'kudens'.<p><i>Task group: help<i> + Generates IDEA project files (IML, IPR, IWS)<p><i>Task group: IDE<i> + Assembles main classes.<p><i>Task group: build<i> + Displays all buildscript dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Generates Gradle wrapper files. [incubating]<p><i>Task group: Build Setup<i> + <i>Task group: other<i> + Assembles test classes.<p><i>Task group: build<i> + Generates Javadoc API documentation for the main source code.<p><i>Task group: documentation<i> + <i>Task group: other<i> + Assembles a jar archive containing the main classes.<p><i>Task group: build<i> + Displays the configuration model of root project 'kudens'. [incubating]<p><i>Task group: help<i> + Generates IDEA module files (IML)<p><i>Task group: other<i> + Processes main resources.<p><i>Task group: other<i> + Displays the tasks runnable from root project 'kudens'.<p><i>Task group: help<i> + Compiles the kotlin sources in source set 'main' to JavaScript.<p><i>Task group: other<i> + Initializes a new Gradle build. [incubating]<p><i>Task group: Build Setup<i> + Cleans IDEA project files (IML, IPR)<p><i>Task group: IDE<i> + Generates an IDEA workspace file (IWS)<p><i>Task group: other<i> + Runs the unit tests.<p><i>Task group: verification<i> + Compiles main Java source.<p><i>Task group: other<i> + Displays the insight into a specific dependency in root project 'kudens'.<p><i>Task group: help<i> + Runs all checks.<p><i>Task group: verification<i> + Assembles the outputs of this project.<p><i>Task group: build<i> + Deletes the build directory.<p><i>Task group: build<i> + Compiles test Java source.<p><i>Task group: other<i> + <i>Task group: other<i> + Displays all dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Processes test resources.<p><i>Task group: other<i> + Displays a help message.<p><i>Task group: help<i> + Assembles and tests this project.<p><i>Task group: build<i> + Installs the 'archives' artifacts into the local Maven repository.<p><i>Task group: other<i> + Assembles and tests this project and all projects it depends on.<p><i>Task group: build<i> + <i>Task group: other<i> + Publishes all publications produced by this project.<p><i>Task group: publishing<i> + Publishes all Maven publications produced by this project to the local Maven cache.<p><i>Task group: publishing<i> + Generates IDEA project file (IPR)<p><i>Task group: other<i> + Uploads all artifacts belonging to configuration ':archives'<p><i>Task group: upload<i> + Compiles the kotlin sources in source set 'test' to JavaScript.<p><i>Task group: other<i> + Displays the properties of root project 'kudens'.<p><i>Task group: help<i> + <i>Task group: other<i> + Configuration for archive artifacts. + Dependencies for source set 'main'. + Compile classpath for source set 'main'. + Compile dependencies for source set 'main'. + Configuration for default artifacts. + Runtime dependencies for source set 'main'. + Dependencies for source set 'test'. + Compile classpath for source set 'test'. + Compile dependencies for source set 'test'. + Runtime dependencies for source set 'test'. + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kotlin-webgl-test_main.iml b/.idea/modules/kotlin-webgl-test_main.iml new file mode 100644 index 0000000..61e01d4 --- /dev/null +++ b/.idea/modules/kotlin-webgl-test_main.iml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kudens.iml b/.idea/modules/kudens.iml index 0487f52..8d44250 100644 --- a/.idea/modules/kudens.iml +++ b/.idea/modules/kudens.iml @@ -18,8 +18,8 @@ diff --git a/.idea/modules/kudens_main.iml b/.idea/modules/kudens_main.iml index 94f5b5b..c3ecc55 100644 --- a/.idea/modules/kudens_main.iml +++ b/.idea/modules/kudens_main.iml @@ -23,7 +23,6 @@ - @@ -54,19 +52,18 @@ - + - - + diff --git a/.idea/gradle_extensions.xml b/.idea/gradle_extensions.xml new file mode 100644 index 0000000..8217de7 --- /dev/null +++ b/.idea/gradle_extensions.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + Displays the components produced by root project 'kudens'. [incubating]<p><i>Task group: help<i> + Assembles and tests this project and all projects that depend on it.<p><i>Task group: build<i> + Displays the sub-projects of root project 'kudens'.<p><i>Task group: help<i> + Generates IDEA project files (IML, IPR, IWS)<p><i>Task group: IDE<i> + Assembles main classes.<p><i>Task group: build<i> + Displays all buildscript dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Generates Gradle wrapper files. [incubating]<p><i>Task group: Build Setup<i> + <i>Task group: other<i> + Assembles test classes.<p><i>Task group: build<i> + Generates Javadoc API documentation for the main source code.<p><i>Task group: documentation<i> + <i>Task group: other<i> + Assembles a jar archive containing the main classes.<p><i>Task group: build<i> + Displays the configuration model of root project 'kudens'. [incubating]<p><i>Task group: help<i> + Generates IDEA module files (IML)<p><i>Task group: other<i> + Processes main resources.<p><i>Task group: other<i> + Displays the tasks runnable from root project 'kudens'.<p><i>Task group: help<i> + Compiles the kotlin sources in source set 'main' to JavaScript.<p><i>Task group: other<i> + Initializes a new Gradle build. [incubating]<p><i>Task group: Build Setup<i> + Cleans IDEA project files (IML, IPR)<p><i>Task group: IDE<i> + Generates an IDEA workspace file (IWS)<p><i>Task group: other<i> + Runs the unit tests.<p><i>Task group: verification<i> + Compiles main Java source.<p><i>Task group: other<i> + Displays the insight into a specific dependency in root project 'kudens'.<p><i>Task group: help<i> + Runs all checks.<p><i>Task group: verification<i> + Assembles the outputs of this project.<p><i>Task group: build<i> + Deletes the build directory.<p><i>Task group: build<i> + Compiles test Java source.<p><i>Task group: other<i> + <i>Task group: other<i> + Displays all dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Processes test resources.<p><i>Task group: other<i> + Displays a help message.<p><i>Task group: help<i> + Assembles and tests this project.<p><i>Task group: build<i> + Installs the 'archives' artifacts into the local Maven repository.<p><i>Task group: other<i> + Assembles and tests this project and all projects it depends on.<p><i>Task group: build<i> + <i>Task group: other<i> + Publishes all publications produced by this project.<p><i>Task group: publishing<i> + Publishes all Maven publications produced by this project to the local Maven cache.<p><i>Task group: publishing<i> + Generates IDEA project file (IPR)<p><i>Task group: other<i> + Uploads all artifacts belonging to configuration ':archives'<p><i>Task group: upload<i> + Compiles the kotlin sources in source set 'test' to JavaScript.<p><i>Task group: other<i> + Displays the properties of root project 'kudens'.<p><i>Task group: help<i> + <i>Task group: other<i> + Configuration for archive artifacts. + Dependencies for source set 'main'. + Compile classpath for source set 'main'. + Compile dependencies for source set 'main'. + Configuration for default artifacts. + Runtime dependencies for source set 'main'. + Dependencies for source set 'test'. + Compile classpath for source set 'test'. + Compile dependencies for source set 'test'. + Runtime dependencies for source set 'test'. + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kotlin-webgl-test_main.iml b/.idea/modules/kotlin-webgl-test_main.iml new file mode 100644 index 0000000..61e01d4 --- /dev/null +++ b/.idea/modules/kotlin-webgl-test_main.iml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kudens.iml b/.idea/modules/kudens.iml index 0487f52..8d44250 100644 --- a/.idea/modules/kudens.iml +++ b/.idea/modules/kudens.iml @@ -18,8 +18,8 @@ diff --git a/.idea/modules/kudens_main.iml b/.idea/modules/kudens_main.iml index 94f5b5b..c3ecc55 100644 --- a/.idea/modules/kudens_main.iml +++ b/.idea/modules/kudens_main.iml @@ -23,7 +23,6 @@ - @@ -54,19 +52,18 @@ - + - - + diff --git a/.idea/modules/kudens_test.iml b/.idea/modules/kudens_test.iml index b3af8af..79fcb71 100644 --- a/.idea/modules/kudens_test.iml +++ b/.idea/modules/kudens_test.iml @@ -23,7 +23,6 @@ - @@ -62,7 +60,7 @@ - + diff --git a/.idea/gradle_extensions.xml b/.idea/gradle_extensions.xml new file mode 100644 index 0000000..8217de7 --- /dev/null +++ b/.idea/gradle_extensions.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + Displays the components produced by root project 'kudens'. [incubating]<p><i>Task group: help<i> + Assembles and tests this project and all projects that depend on it.<p><i>Task group: build<i> + Displays the sub-projects of root project 'kudens'.<p><i>Task group: help<i> + Generates IDEA project files (IML, IPR, IWS)<p><i>Task group: IDE<i> + Assembles main classes.<p><i>Task group: build<i> + Displays all buildscript dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Generates Gradle wrapper files. [incubating]<p><i>Task group: Build Setup<i> + <i>Task group: other<i> + Assembles test classes.<p><i>Task group: build<i> + Generates Javadoc API documentation for the main source code.<p><i>Task group: documentation<i> + <i>Task group: other<i> + Assembles a jar archive containing the main classes.<p><i>Task group: build<i> + Displays the configuration model of root project 'kudens'. [incubating]<p><i>Task group: help<i> + Generates IDEA module files (IML)<p><i>Task group: other<i> + Processes main resources.<p><i>Task group: other<i> + Displays the tasks runnable from root project 'kudens'.<p><i>Task group: help<i> + Compiles the kotlin sources in source set 'main' to JavaScript.<p><i>Task group: other<i> + Initializes a new Gradle build. [incubating]<p><i>Task group: Build Setup<i> + Cleans IDEA project files (IML, IPR)<p><i>Task group: IDE<i> + Generates an IDEA workspace file (IWS)<p><i>Task group: other<i> + Runs the unit tests.<p><i>Task group: verification<i> + Compiles main Java source.<p><i>Task group: other<i> + Displays the insight into a specific dependency in root project 'kudens'.<p><i>Task group: help<i> + Runs all checks.<p><i>Task group: verification<i> + Assembles the outputs of this project.<p><i>Task group: build<i> + Deletes the build directory.<p><i>Task group: build<i> + Compiles test Java source.<p><i>Task group: other<i> + <i>Task group: other<i> + Displays all dependencies declared in root project 'kudens'.<p><i>Task group: help<i> + Processes test resources.<p><i>Task group: other<i> + Displays a help message.<p><i>Task group: help<i> + Assembles and tests this project.<p><i>Task group: build<i> + Installs the 'archives' artifacts into the local Maven repository.<p><i>Task group: other<i> + Assembles and tests this project and all projects it depends on.<p><i>Task group: build<i> + <i>Task group: other<i> + Publishes all publications produced by this project.<p><i>Task group: publishing<i> + Publishes all Maven publications produced by this project to the local Maven cache.<p><i>Task group: publishing<i> + Generates IDEA project file (IPR)<p><i>Task group: other<i> + Uploads all artifacts belonging to configuration ':archives'<p><i>Task group: upload<i> + Compiles the kotlin sources in source set 'test' to JavaScript.<p><i>Task group: other<i> + Displays the properties of root project 'kudens'.<p><i>Task group: help<i> + <i>Task group: other<i> + Configuration for archive artifacts. + Dependencies for source set 'main'. + Compile classpath for source set 'main'. + Compile dependencies for source set 'main'. + Configuration for default artifacts. + Runtime dependencies for source set 'main'. + Dependencies for source set 'test'. + Compile classpath for source set 'test'. + Compile dependencies for source set 'test'. + Runtime dependencies for source set 'test'. + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kotlin-webgl-test_main.iml b/.idea/modules/kotlin-webgl-test_main.iml new file mode 100644 index 0000000..61e01d4 --- /dev/null +++ b/.idea/modules/kotlin-webgl-test_main.iml @@ -0,0 +1,98 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/kudens.iml b/.idea/modules/kudens.iml index 0487f52..8d44250 100644 --- a/.idea/modules/kudens.iml +++ b/.idea/modules/kudens.iml @@ -18,8 +18,8 @@ diff --git a/.idea/modules/kudens_main.iml b/.idea/modules/kudens_main.iml index 94f5b5b..c3ecc55 100644 --- a/.idea/modules/kudens_main.iml +++ b/.idea/modules/kudens_main.iml @@ -23,7 +23,6 @@ - @@ -54,19 +52,18 @@ - + - - + diff --git a/.idea/modules/kudens_test.iml b/.idea/modules/kudens_test.iml index b3af8af..79fcb71 100644 --- a/.idea/modules/kudens_test.iml +++ b/.idea/modules/kudens_test.iml @@ -23,7 +23,6 @@ - @@ -62,7 +60,7 @@ - + diff --git a/src/main/kotlin/com/persesgames/input/Keys.kt b/src/main/kotlin/com/persesgames/input/Keys.kt index 4d3ccc1..29ff96a 100644 --- a/src/main/kotlin/com/persesgames/input/Keys.kt +++ b/src/main/kotlin/com/persesgames/input/Keys.kt @@ -49,7 +49,7 @@ object Keys { - private val keys: MutableMap = HashMap() + private val keys: MutableMap = HashMap() private var inputProcesser: InputProcessor = EmptyInputProcessor() init { @@ -82,6 +82,8 @@ body.on("mousemove", true) { Keys.mouseMove(it) } + } else { + console.log("Can't register key events, document.body is null!?") } } @@ -91,7 +93,7 @@ private fun keyDown(key: Event) { if (key is KeyboardEvent) { - keys.put(key.keyCode, Date().getTime().toInt()) + keys.put(key.keyCode, Date().getTime()) inputProcesser.keyDown(key.keyCode) } @@ -133,4 +135,10 @@ fun isDown(keyCode: KeyCode) = keys.containsKey(keyCode.keyCode) + fun wasPressed(keyCode: Int, delta: Double): Boolean { + val time = keys[keyCode] + + return (time != null && time > (Date().getTime() - delta)) + } + }