Upgrade syntax of everything to more modern javascript

This commit is contained in:
mmorrison 2017-08-09 04:05:55 -05:00
parent f8d903b982
commit 69288baebc
43 changed files with 1499 additions and 1521 deletions

View file

@ -1,6 +1,8 @@
module.exports = require('./unreal2').extend({
readExtraInfo: function(reader,state) {
class KillingFloor extends require('./unreal2') {
readExtraInfo(reader,state) {
state.raw.wavecurrent = reader.uint(4);
state.raw.wavetotal = reader.uint(4);
}
});
}
module.exports = KillingFloor;