Instantly share code, notes, and snippets.

Embed
What would you like to do?
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