code: public static Collision createCollision(XmlReader node)
      {
          Check.notNull(node);
  
          final String name = node.readString(ATT_NAME);
          final int offsetX = node.readInteger(ATT_OFFSETX);
          final int offsetY = node.readInteger(ATT_OFFSETY);
          final int width = node.readInteger(ATT_WIDTH);
          final int height = node.readInteger(ATT_HEIGHT);
          final boolean mirror = node.readBoolean(ATT_MIRROR);
  
          return new Collision(name, offsetX, offsetY, width, height, mirror);
      }
docs: Create an collision from its node.
  
  @param node The collision node (must not be <code>null</code>).
  @return The collision instance.
  @throws LionEngineException If error when reading collision data.