ringfinger/js/event/FingerprintCreatedEvent.ts

18 lines
409 B
TypeScript
Raw Normal View History

2020-09-08 14:21:04 +02:00
import RingfingerEvent from "./RingfingerEvent.js";
import Fingerprint from "../types/Fingerprint.js";
export default class FingerprintCreatedEvent extends RingfingerEvent
{
private fingerprint: Fingerprint;
public constructor(fingerprint: Fingerprint) {
super(FingerprintCreatedEvent.name);
this.fingerprint = fingerprint;
}
public getFingerprint(): Fingerprint
{
return this.fingerprint;
}
}