package org.herac.tuxguitar.io.midi.base;

public class MidiEvent {
	
	private long tick;
	private MidiMessage message;
	
	public MidiEvent(MidiMessage message, long tick){
		this.message = message;
		this.tick = tick;
	}
	
	public MidiMessage getMessage() {
		return this.message;
	}
	
	public long getTick() {
		return this.tick;
	}
	
	@Override
	public String toString() {
		return "MidiEvent(" + this.message + ", " + this.tick + ")";
	}
}
