• 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/TileMap/IsometricEntityComponent.ts
1
import { Component } from '../EntityComponentSystem/Component';
2
import { IsometricMap } from './IsometricMap';
3

4
export interface IsometricEntityComponentOptions {
5
  columns: number;
6
  rows: number;
7
  tileWidth: number;
8
  tileHeight: number;
9
}
10

11
export class IsometricEntityComponent extends Component {
12
  /**
13
   * Vertical "height" in the isometric world
14
   */
UNCOV
15
  public elevation: number = 0;
×
16

17
  public readonly columns: number;
18
  public readonly rows: number;
19
  public readonly tileWidth: number;
20
  public readonly tileHeight: number;
21

22
  /**
23
   * Specify the isometric map to use to position this entity's z-index
24
   * @param mapOrOptions
25
   */
26
  constructor(mapOrOptions: IsometricMap | IsometricEntityComponentOptions) {
UNCOV
27
    super();
×
UNCOV
28
    this.columns = mapOrOptions.columns;
×
UNCOV
29
    this.rows = mapOrOptions.rows;
×
UNCOV
30
    this.tileWidth = mapOrOptions.tileWidth;
×
UNCOV
31
    this.tileHeight = mapOrOptions.tileHeight;
×
32
  }
33
}
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