Skip to content

Commit

Permalink
(#8) Updated typings
Browse files Browse the repository at this point in the history
  • Loading branch information
s1hofmann committed May 5, 2020
1 parent 56101c3 commit fe1c0ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export interface Bitmap {
byteWidth: number;
bitsPerPixel: number;
bytesPerPixel: number;
colorAt(x: number, y: number): string;
}

export interface Screen {
Expand All @@ -30,7 +29,6 @@ export function mouseToggle(down?: string, button?: string): void;
export function dragMouse(x: number, y: number): void;
export function scrollMouse(x: number, y: number): void;
export function getMousePos(): { x: number; y: number };
export function getPixelColor(x: number, y: number): string;
export function getScreenSize(): { width: number; height: number };

export const screen: Screen;

0 comments on commit fe1c0ec

Please sign in to comment.