win-destroyer-ts
Version:
A modern recreation of the timeless Desktop Destroyer game developed by Ing. Miroslav Nemecek, written in TypeScript.
13 lines (12 loc) • 438 B
TypeScript
import { Game } from './interfaces';
import Particle from './Particle';
import { Coordinates2D } from './types';
import Weapon from './Weapon';
export declare class ParticleGenerator {
weapon: Weapon;
game: Game;
constructor(weapon: Weapon, game: Game);
/** Generate and return a particle object to be rendered at the given coordinates */
generate(coords: Coordinates2D): Particle;
}
export default ParticleGenerator;