Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created March 19, 2018 18:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/b0fd4ecbcd9cd4ddb9e6fd219f43a9a6 to your computer and use it in GitHub Desktop.
Save ssaurel/b0fd4ecbcd9cd4ddb9e6fd219f43a9a6 to your computer and use it in GitHub Desktop.
Key for our Virtual Piano App on the SSaurel's Channel
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