From 3e7a0d45a98578120f3d827e0c447e3d3e88a57f Mon Sep 17 00:00:00 2001 From: Ben Scholar Date: Thu, 14 Feb 2019 16:41:17 -0800 Subject: [PATCH] Added button state class (#38) * added button state class * Update build.gradle --- build.gradle | 2 +- src/main/kotlin/org/team5499/monkeyLib/input/ButtonState.kt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 src/main/kotlin/org/team5499/monkeyLib/input/ButtonState.kt diff --git a/build.gradle b/build.gradle index 01e3fc6..c3176a2 100644 --- a/build.gradle +++ b/build.gradle @@ -35,7 +35,7 @@ dependencies { } group = 'org.team5499' -version = '2.6.3' +version = '2.7.0' task sourcesJar(type: Jar) { from sourceSets.main.allJava diff --git a/src/main/kotlin/org/team5499/monkeyLib/input/ButtonState.kt b/src/main/kotlin/org/team5499/monkeyLib/input/ButtonState.kt new file mode 100644 index 0000000..faa4c19 --- /dev/null +++ b/src/main/kotlin/org/team5499/monkeyLib/input/ButtonState.kt @@ -0,0 +1,3 @@ +package org.team5499.monkeyLib.input + +public data class ButtonState(val down: Boolean, val pressed: Boolean, val released: Boolean)