Home Reference Source Repository

js/base/DH2DObject.js

'use strict'

/**
 * DH2DObject basic class
 * @access public
 */
export default class DH2DObject {
  /**
   * move object
   * @access public
   * @param {float} elapsedTime - elapsed time (seconds) from previous frame
   * @returns {void}
   */
  move(elapsedTime) {
  }

  /**
   * animate object
   * @access public
   * @param {float} elapsedTime - elapsed time (seconds) from previous frame
   * @returns {void}
   */
  animate(elapsedTime) {
  }

  /**
   * render object
   * @access public
   * @returns {void}
   */
  render() {
  }
}