1 package com.jamesbryangraves.bob.music; 2 3 public class MusicEvent { 4 5 private int pitch; 6 private long value; 7 private long tick; 8 9 public MusicEvent(int pitch, long value, long tick) { 10 this.pitch = pitch; 11 this.tick = tick; 12 this.value = value; 13 } 14 15 public int getPitch() { 16 return pitch; 17 } 18 19 public void setPitch(int pitch) { 20 this.pitch = pitch; 21 } 22 23 public long getTick() { 24 return tick; 25 } 26 27 public void setTick(long tick) { 28 this.tick = tick; 29 } 30 31 public long getValue() { 32 return value; 33 } 34 35 public void setValue(long value) { 36 this.value = value; 37 } 38 39 }