"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
Object.defineProperty(exports, "__esModule", { value: true });
const BlockActor_1 = require("./BlockActor");
class BedBlockActor extends BlockActor_1.default {
    color;
    load() {
        if (!this.rootTag) {
            return;
        }
        let tag = this.rootTag.find("color");
        if (tag) {
            this.color = tag.valueAsBoolean;
        }
    }
}
exports.default = BedBlockActor;

//# sourceMappingURL=../../maps/minecraft/blockActors/BedBlockActor.js.map
