UNPKG

bp-prism-game

Version:
27 lines (26 loc) 677 B
import { GameService } from '../../service/game.service'; import { CharacterClass } from '../character.class'; /** * The Letter Class */ export declare class LetterClass extends CharacterClass { /** * The letter collection */ private letterCollection; /** * Constructor * @param gameService The GameService * @param color The Color of the letters */ constructor(gameService: GameService, ctx: CanvasRenderingContext2D); /** * Load the Letter Images */ private loadLetterImages; /** * Draw the Letter * @param inputLetters the letter to display */ setLetter(inputLetters: string): void; }