All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.bloodshura.ignitium.ntv.mouse.MouseHandler Maven / Gradle / Ivy

The newest version!
package com.github.bloodshura.ignitium.ntv.mouse;

import com.github.bloodshura.ignitium.geometry.position.Position;
import com.github.bloodshura.ignitium.input.MouseButton;
import com.github.bloodshura.ignitium.lang.Disposable;
import com.github.bloodshura.ignitium.ntv.NativeException;

import javax.annotation.Nonnull;

public interface MouseHandler extends Disposable {
	@Override
	void dispose() throws NativeException;

	@Nonnull
	Position getPosition() throws NativeException;

	void press(@Nonnull MouseButton button) throws NativeException;

	void release(@Nonnull MouseButton button) throws NativeException;

	void setPosition(@Nonnull Position position) throws NativeException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy