"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SDL = require("./sdl");
function cancelAnimationFrame(engine, request) {
    switch (engine) {
        case 'sdl':
            SDL.cancelAnimationFrame(request);
            return;
    }
    throw new ReferenceError("Unknown engine " + engine);
}
exports.cancelAnimationFrame = cancelAnimationFrame;
function requestAnimationFrame(engine, callback) {
    switch (engine) {
        case 'sdl':
            return SDL.requestAnimationFrame(callback);
    }
    throw new ReferenceError("Unknown engine " + engine);
}
exports.requestAnimationFrame = requestAnimationFrame;
function alert(engine, message) {
    switch (engine) {
        case 'sdl':
            SDL.alert(message);
            return;
    }
    throw new ReferenceError("Unknown engine " + engine);
}
exports.alert = alert;
function confirm(engine, message) {
    switch (engine) {
        case 'sdl':
            return SDL.confirm(message);
    }
    throw new ReferenceError("Unknown engine " + engine);
}
exports.confirm = confirm;
function createWindow(engine, options) {
    switch (engine) {
        case 'sdl':
            return SDL.createWindow(options);
    }
    throw new ReferenceError("Unknown engine " + engine);
}
exports.createWindow = createWindow;
//# sourceMappingURL=index.js.map