UNPKG

pubtool4pixi

Version:

Usefultool for PIXI xes project

935 lines (237 loc) 12.2 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JSDoc: Class: Preschool_aqiu</title> <script src="scripts/prettify/prettify.js"> </script> <script src="scripts/prettify/lang-css.js"> </script> <!--[if lt IE 9]> <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css"> <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css"> </head> <body> <div id="main"> <h1 class="page-title">Class: Preschool_aqiu</h1> <section> <header> <h2><span class="attribs"><span class="type-signature"></span></span>Preschool_aqiu<span class="signature">()</span><span class="type-signature"></span></h2> <div class="class-description">幼教项目游戏页组件.</div> </header> <article> <div class="container-overview"> <h2>Constructor</h2> <h4 class="name" id="Preschool_aqiu"><span class="type-signature"></span>new Preschool_aqiu<span class="signature">()</span><span class="type-signature"></span></h4> <h5 class="subsection-title">Properties:</h5> <table class="props"> <thead> <tr> <th>Name</th> <th>Type</th> <th class="last">Description</th> </tr> </thead> <tbody> <tr> <td class="name"><code>name</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">动效名称 - 默认:animation_aqiu</td> </tr> <tr> <td class="name"><code>AniTalk</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">说话状态动画名称 - 默认:talk</td> </tr> <tr> <td class="name"><code>AniIdle</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">默认状态动画名称 - 默认:idle</td> </tr> <tr> <td class="name"><code>AniWrong</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">小题失败动画名称 - 默认:wrong</td> </tr> <tr> <td class="name"><code>AniQtWin</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">小题成功动画名称 - 默认:right_1</td> </tr> <tr> <td class="name"><code>AniWin</code></td> <td class="type"> <span class="param-type">string</span> </td> <td class="description last">大题成功动画名称 - 默认:right_2</td> </tr> <tr> <td class="name"><code>audioRead</code></td> <td class="type"> <span class="param-type">array</span> </td> <td class="description last">读题音乐名称 - 默认:[audio_readTopic]</td> </tr> <tr> <td class="name"><code>audioQtWin</code></td> <td class="type"> <span class="param-type">array</span> </td> <td class="description last">小题成功音乐名称 - 默认:[audio_questionsWin]</td> </tr> <tr> <td class="name"><code>audioQtLose</code></td> <td class="type"> <span class="param-type">array</span> </td> <td class="description last">小题失败音乐名称 - 默认:[audio_questionsLose]</td> </tr> <tr> <td class="name"><code>audiowin</code></td> <td class="type"> <span class="param-type">array</span> </td> <td class="description last">大题成功音乐名称 - 默认:[audio_Win]</td> </tr> <tr> <td class="name"><code>x1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last">动效x轴位置 - 默认:262.4299065420561</td> </tr> <tr> <td class="name"><code>y1</code></td> <td class="type"> <span class="param-type">number</span> </td> <td class="description last">动效y轴位置 - 默认:677.3831775700934</td> </tr> </tbody> </table> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line2766">line 2766</a> </li></ul></dd> </dl> <h5>Example</h5> <pre class="prettyprint"><code>import {Easy} from "pubtool4pixi" Easy.create("Preschool_aqiu",{ parentContainer:this, name:'animation_aqiu', AniTalk:'talk', AniIdle:'idle', audioLose:'audio_questionsLose', x1:262.4299065420561, y1:677.3831775700934, }).show();</code></pre> </div> <h3 class="subsection-title">Extends</h3> <ul> <li><a href="BaseContainer.html">BaseContainer</a></li> </ul> <h3 class="subsection-title">Methods</h3> <h4 class="name" id=".questionsLose"><span class="type-signature">(static) </span>questionsLose<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4> <div class="description"> 播放小题失败的动效与音效 </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line2910">line 2910</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> 讲话结束后调resolve </div> <dl> <dt> Type </dt> <dd> <span class="param-type">Promise</span> </dd> </dl> <h4 class="name" id=".questionsWin"><span class="type-signature">(static) </span>questionsWin<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4> <div class="description"> 播放小题成功的动效与音效 </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line2883">line 2883</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> 讲话结束后调resolve </div> <dl> <dt> Type </dt> <dd> <span class="param-type">Promise</span> </dd> </dl> <h4 class="name" id=".talk"><span class="type-signature">(static) </span>talk<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4> <div class="description"> 播放题干音效 </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line2852">line 2852</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> 讲话结束后调resolve </div> <dl> <dt> Type </dt> <dd> <span class="param-type">Promise</span> </dd> </dl> <h4 class="name" id=".win"><span class="type-signature">(static) </span>win<span class="signature">()</span><span class="type-signature"> &rarr; {Promise}</span></h4> <div class="description"> 播放大题成功的动效与音效 </div> <dl class="details"> <dt class="tag-source">Source:</dt> <dd class="tag-source"><ul class="dummy"><li> <a href="easy.js.html">easy.js</a>, <a href="easy.js.html#line2937">line 2937</a> </li></ul></dd> </dl> <h5>Returns:</h5> <div class="param-desc"> 讲话结束后调resolve </div> <dl> <dt> Type </dt> <dd> <span class="param-type">Promise</span> </dd> </dl> </article> </section> </div> <nav> <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Base.html">Base</a></li><li><a href="BaseContainer.html">BaseContainer</a></li><li><a href="BigMath_AniBtn.html">BigMath_AniBtn</a></li><li><a href="BigMath_GuideHand.html">BigMath_GuideHand</a></li><li><a href="BigMath_StarScoreBoard.html">BigMath_StarScoreBoard</a></li><li><a href="BigMath_Timer.html">BigMath_Timer</a></li><li><a href="HitContainer.html">HitContainer</a></li><li><a href="Preschool_aqiu.html">Preschool_aqiu</a></li><li><a href="Preschool_End.html">Preschool_End</a></li><li><a href="Preschool_HintBtn.html">Preschool_HintBtn</a></li><li><a href="Preschool_Start.html">Preschool_Start</a></li><li><a href="PUB_Mask.html">PUB_Mask</a></li></ul><h3>Events</h3><ul><li><a href="BaseContainer.html#.event:beforeHide">beforeHide</a></li><li><a href="BaseContainer.html#.event:beforeShow">beforeShow</a></li><li><a href="BaseContainer.html#.event:Destroyed">Destroyed</a></li><li><a href="BaseContainer.html#.event:onHide">onHide</a></li><li><a href="BaseContainer.html#.event:onShow">onShow</a></li><li><a href="BaseContainer.html#.event:ParentChange">ParentChange</a></li><li><a href="BigMath_AniBtn.html#.event:onClick">onClick</a></li><li><a href="BigMath_Timer.html#.event:onTimeRun">onTimeRun</a></li><li><a href="BigMath_Timer.html#.event:timeup">timeup</a></li><li><a href="Preschool_End.html#.event:gameOver">gameOver</a></li><li><a href="Preschool_Start.html#.event:startGame">startGame</a></li></ul> </nav> <br class="clear"> <footer> Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.2</a> on Wed Dec 18 2019 14:22:09 GMT+0800 (中国标准时间) </footer> <script> prettyPrint(); </script> <script src="scripts/linenumber.js"> </script> </body> </html>