love-typescript-definitions
Version:
Write LÖVE 2D projects with TypeScript
17 lines (15 loc) • 383 B
TypeScript
declare module "love.mouse" {
import { Type } from "love";
/**
* @link [Cursor](https://love2d.org/wiki/Cursor)
*/
interface Cursor extends Type<"Cursor"> {
/**
* Gets the type of the Cursor.
*
* @return cursortype, The type of the Cursor.
* @link [Cursor:getType](https://love2d.org/wiki/Cursor:getType)
*/
getType(): CursorType;
}
}