/** * @author Wolfgang Kowarschick <kowa@hs-augsburg.de> * @copyright 2017 - 2018 * @license CC-BY-NC-SA-4.0 */ /** * @module app03/model/ModelStage */ /** * @property {number} left - the x position of the left border (AABB) * @property {number} right - the x position of the right border (AABB) * @property {number} top - the y position of the top border (AABB) * @property {number} bottom - the y position of the bottom border (AABB) */ class ModelStage { /** * @param {Object} [p_config] * @param {number} [p_config.left = 0] * @param {number} [p_config.right = 0] * @param {number} [p_config.top = 0] * @param {number} [p_config.bottom = 0] */ constructor({left: p_left = 0, right: p_right = 0, top: p_top = 0, bottom: p_bottom = 0 } = {} ) { this.left = p_left; this.right = p_right; this.top = p_top; this.bottom = p_bottom; } } export default ModelStage;