• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 14804036802

02 May 2025 09:58PM UTC coverage: 5.927% (-83.4%) from 89.28%
14804036802

Pull #3404

github

web-flow
Merge 5c103d7f8 into 0f2ccaeb2
Pull Request #3404: feat: added Graph module to Math

234 of 8383 branches covered (2.79%)

229 of 246 new or added lines in 1 file covered. (93.09%)

13145 existing lines in 208 files now uncovered.

934 of 15759 relevant lines covered (5.93%)

4.72 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/engine/Input/PointerEvent.ts
1
import { GlobalCoordinates } from '../Math/global-coordinates';
2
import { Vector } from '../Math/vector';
3
import { PointerButton } from './PointerButton';
4
import { PointerType } from './PointerType';
5

6
export class PointerEvent {
UNCOV
7
  public active = true;
×
8
  public cancel() {
UNCOV
9
    this.active = false;
×
10
  }
11

12
  get pagePos(): Vector {
UNCOV
13
    return this.coordinates.pagePos;
×
14
  }
15

16
  get screenPos(): Vector {
UNCOV
17
    return this.coordinates.screenPos;
×
18
  }
19

20
  get worldPos(): Vector {
UNCOV
21
    return this.coordinates.worldPos;
×
22
  }
23

24
  constructor(
UNCOV
25
    public type: 'down' | 'up' | 'move' | 'cancel',
×
UNCOV
26
    public pointerId: number,
×
UNCOV
27
    public button: PointerButton,
×
UNCOV
28
    public pointerType: PointerType,
×
UNCOV
29
    public coordinates: GlobalCoordinates,
×
UNCOV
30
    public nativeEvent: Event
×
31
  ) {}
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc