Skip to content

Class: MockCGameFont

Mock of the X-Ray engine CGameFont class for jest/node.

Implements

  • CGameFont

Constructors

Constructor

ts
new MockCGameFont(): MockCGameFont;

Returns

MockCGameFont

Methods

create()

ts
static create(): MockCGameFont;

Returns

MockCGameFont


mock()

ts
static mock(): CGameFont;

Returns

CGameFont

Properties

alCenter

ts
readonly static alCenter: number = 2;

Engine enum value for CGameFont.alCenter.


alLeft

ts
readonly static alLeft: number = 0;

Engine enum value for CGameFont.alLeft.


alRight

ts
readonly static alRight: number = 1;

Engine enum value for CGameFont.alRight.