Ein Projekt das es ermöglicht Beerpong über das Internet von zwei unabhängigen positionen aus zu spielen. Entstehung im Rahmen einer Praktikumsaufgabe im Fach Interaktion.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

filter.js 485B

123456789101112131415161718192021222324
  1. 'use strict';
  2. var Node = require('./node');
  3. /**
  4. * Initialize a `Filter` node with the given
  5. * filter `name` and `block`.
  6. *
  7. * @param {String} name
  8. * @param {Block|Node} block
  9. * @api public
  10. */
  11. var Filter = module.exports = function Filter(name, block, attrs) {
  12. this.name = name;
  13. this.block = block;
  14. this.attrs = attrs;
  15. };
  16. // Inherit from `Node`.
  17. Filter.prototype = Object.create(Node.prototype);
  18. Filter.prototype.constructor = Filter;
  19. Filter.prototype.type = 'Filter';