Event.js 593 B

1234567891011121314151617181920212223242526
  1. function Event() {
  2. }
  3. Event.prototype.getEventCode = function() {
  4. Polycode.Event_getEventCode(this.__ptr)
  5. }
  6. Event.prototype.getDispatcher = function() {
  7. Polycode.Event_getDispatcher(this.__ptr)
  8. }
  9. Event.prototype.setEventCode = function(eventCode) {
  10. Polycode.Event_setEventCode(this.__ptr, eventCode)
  11. }
  12. Event.prototype.setDispatcher = function(dispatcher) {
  13. Polycode.Event_setDispatcher(this.__ptr, dispatcher)
  14. }
  15. Event.prototype.getEventType = function() {
  16. Polycode.Event_getEventType(this.__ptr)
  17. }
  18. Event.prototype.cancelEvent = function() {
  19. Polycode.Event_cancelEvent(this.__ptr)
  20. }