Created
March 19, 2018 18:44
-
-
Save ssaurel/b0fd4ecbcd9cd4ddb9e6fd219f43a9a6 to your computer and use it in GitHub Desktop.
Key for our Virtual Piano App on the SSaurel's Channel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ssaurel.piano; | |
import android.graphics.RectF; | |
/** | |
* Created by ssaurel on 15/03/2018. | |
*/ | |
public class Key { | |
public int sound; | |
public RectF rect; | |
public boolean down; | |
public Key(RectF rect, int sound) { | |
this.sound = sound; | |
this.rect = rect; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment