Tool2D.ts 373 B

123456789101112131415161718
  1. import Tool2D_Button from "./Tool2D/Tool2D_Button";
  2. /**
  3. * 2D工具类
  4. */
  5. export default class Tool2D {
  6. /**按钮动画工具类 */
  7. private button: Tool2D_Button;
  8. /**按钮动画工具 */
  9. public get Button (): Tool2D_Button {
  10. if (this.button == null) {
  11. this.button = new Tool2D_Button();
  12. }
  13. return this.button;
  14. }
  15. }