doggo-quest-logic
Version:
The game logic for the Doggo Quest text-based game sample project
17 lines (16 loc) • 817 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const GameObjectBase_1 = require("../GameObjectBase");
class TelevisionObject extends GameObjectBase_1.GameObjectBase {
constructor(room) {
super('tv');
this.look = `The television is a black box on the wall. Sometimes it displays moving pictures and makes sounds, but right now it's off.`;
this.smell = `It smells faintly of plastic. It's not that interesting.`;
this.lick = this.TooFarMessage;
this.eat = this.TooFarMessage;
this.think = `One time the TV showed a dog show. That was a good day. I barked at so many good boys that day.`;
this.push = this.TooFarMessage;
this.pull = this.TooFarMessage;
}
}
exports.TelevisionObject = TelevisionObject;