2 * Sixth 3D engine. Author: Svjatoslav Agejenko.
3 * This project is released under Creative Commons Zero (CC0) license.
8 package eu.svjatoslav.sixth.e3d.gui.humaninput;
10 import eu.svjatoslav.sixth.e3d.geometry.Point2D;
12 public class MouseEvent {
14 public Point2D coordinate;
17 * Indicates pressed mouse button. Except 0 that simply means mouse over
22 MouseEvent(final int x, final int y, final int button) {
23 this(new Point2D(x, y), button);
26 MouseEvent(final Point2D coordinate, final int button) {
27 this.coordinate = coordinate;
32 public String toString() {
33 return "MouseEvent{" +
34 "coordinate=" + coordinate +
35 ", button=" + button +