var Class = require('../../../utils/Class'); var Key = new Class({ initialize: function Key(keyCode){ this.keyCode = keyCode; this.originalEvent = undefined; this.preventDefault = true ; this.enabled = true ; this.isDown = false ; this.isUp = true ; this.altKey = false ; this.ctrlKey = false ; this.shiftKey = false ; _AN_Write_location('location', this, false , 0); this.timeDown = 0; this.duration = 0; this.timeUp = 0; this.repeats = 0; this._justDown = false ; this._justUp = false ; } } ); module.exports = Key;