1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
tobspr_shapez.io/src/js/platform/achievements.js

29 lines
563 B
JavaScript
Raw Normal View History

/* typehints:start */
import { Application } from "../application";
/* typehints:end */
export class AchievementsInterface {
constructor(app) {
/** @type {Application} */
this.app = app;
}
/**
* Initializes the list of achievements
* @returns {Promise<void>}
*/
initialize() {
abstract;
return Promise.reject();
}
/**
* Checks if achievements are supported in the current build
* @returns {boolean}
*/
hasAchievements() {
abstract;
return false;
}
}