2 * Sixth 3D engine. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
5 package eu.svjatoslav.sixth.e3d.gui.humaninput;
7 import eu.svjatoslav.sixth.e3d.geometry.Point2D;
9 public class MouseEvent {
11 public Point2D coordinate;
14 * Indicates pressed mouse button. Except 0 that simply means mouse over
19 MouseEvent(final int x, final int y, final int button) {
20 this(new Point2D(x, y), button);
23 MouseEvent(final Point2D coordinate, final int button) {
24 this.coordinate = coordinate;
29 public String toString() {
30 return "MouseEvent{" +
31 "coordinate=" + coordinate +
32 ", button=" + button +