=============================================== Direction (class) =============================================== Simple class for modelling a direction .. contents:: :local: .. js:class:: Direction (x, y) .. ============================== constructor details ==================== :param int x: X coordinate :param int y: Y coordinate :deprecated: Since version 0.5. You should now plain Object instead: ``{x:234, y:123}`` .. ============================== properties summary ===================== .. ============================== events summary ======================== .. ============================== field details ========================== .. js:attribute:: Direction.x :type: number X value .. js:attribute:: Direction.y :type: number Y value .. ============================== method details ========================= .. ============================== event details ========================= .. container:: footer Documentation generated by jsdoc-toolkit_ 2.4.0 using jsdoc-toolkit-rst-template_ .. _jsdoc-toolkit: http://code.google.com/p/jsdoc-toolkit/ .. _jsdoc-toolkit-rst-template: http://code.google.com/p/jsdoc-toolkit-rst-template/ .. _sphinx: http://sphinx.pocoo.org/ .. vim: set ft=rst :