@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
27 lines • 799 B
TypeScript
export default NotificationLog;
declare class NotificationLog {
/**
* @readonly
* @type {List<Notification>}
*/
readonly elements: List<Notification>;
/**
* Once number of entries in the log reaches this amount, the earliest entries will be removed to make space for new ones
* @type {number}
*/
maxLength: number;
/**
*
* @param {{}} options See {@link Notification.constructor} for details
* @returns {Notification}
*/
add(options: {}): Notification;
/**
*
* @param {Notification} notification
*/
addNotification(notification: Notification): void;
}
import List from '../../core/collection/list/List.js';
import { Notification } from './Notification.js';
//# sourceMappingURL=NotificationLog.d.ts.map