浏览代码

Drop usage of the room attribute for timers

tags/v0.1.2
Fen Dweller 6 年前
父节点
当前提交
e92b2f1a50
找不到此签名对应的密钥 GPG 密钥 ID: E80B35A6F11C3656
共有 1 个文件被更改,包括 11 次插入11 次删除
  1. +11
    -11
      stories/fen-snack.js

+ 11
- 11
stories/fen-snack.js 查看文件

@@ -174,15 +174,15 @@ stories.push({
},
delay: 10000,
loop: true,
room: "stomach",
classes: [
"alive"
"alive",
"stomach"
]
}, state);
},
exit: (room, state) => {
stopLoop("loop/fen-stomach.ogg");
stopRoomTimers("stomach", state);
stopClassTimers("stomach", state);
},
hooks: [

@@ -279,15 +279,15 @@ stories.push({
},
delay: 10000,
loop: true,
room: "intestines",
classes: [
"alive"
"alive",
"intestines"
]
}, state);
},
exit: (room, state) => {
stopLoop("loop/fen-intestines.ogg");
stopRoomTimers("intestines", state);
stopClassTimers("intestines", state);
},
exits: {
"up": {
@@ -385,9 +385,9 @@ stories.push({
},
delay: 1000,
loop: true,
room: "bowels",
classes: [
"alive"
"alive",
"bowels"
]
}, state);

@@ -399,15 +399,15 @@ stories.push({
},
delay: 10000,
loop: true,
room: "bowels",
classes: [
"alive"
"alive",
"bowels"
]
}, state);
},
exit: (room, state) => {
stopLoop("loop/fen-bowels.ogg");
stopRoomTimers("bowels", state);
stopClassTimers("bowels", state);
},
exits: {
"up": {


正在加载...
取消
保存