UNPKG

@magikcraft/mct1

Version:

Minecraft for Type 1 Diabetes

36 lines (35 loc) 1.45 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var Locations = require("./locs"); var world_1 = require("@magikcraft/mct1/world"); var Quest_1 = require("@magikcraft/mct1/quests/Quest"); var QuestMCT1Breakout2 = /** @class */ (function (_super) { __extends(QuestMCT1Breakout2, _super); function QuestMCT1Breakout2(conf) { var _this = _super.call(this, conf) || this; _this.Locs = Locations.getLocations(_this.world); _super.prototype.registerEvents.call(_this); return _this; } QuestMCT1Breakout2.prototype.start = function () { _super.prototype.start.call(this); var world = this.world; world_1.worldly(world).setSun(); this.setMCT1SuperPowers(true); }; return QuestMCT1Breakout2; }(Quest_1.QuestMCT1)); exports.default = QuestMCT1Breakout2;