public Event(bool down, Ckey button) { this.button = button; this.down = down; }
public bool equals(Ckey b) { return(b.type == type && b.key == key && b.mouse == mouse); }