848 lines
49 KiB
HTML
848 lines
49 KiB
HTML
<!doctype html>
|
||
<html class="default no-js">
|
||
<head>
|
||
<meta charset="utf-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<title>ProjectileMover | @esengine/egret-framework</title>
|
||
<meta name="description" content="Documentation for @esengine/egret-framework">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
<link rel="stylesheet" href="../assets/css/main.css">
|
||
</head>
|
||
<body>
|
||
<header>
|
||
<div class="tsd-page-toolbar">
|
||
<div class="container">
|
||
<div class="table-wrap">
|
||
<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
|
||
<div class="field">
|
||
<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
|
||
<input id="tsd-search-field" type="text" />
|
||
</div>
|
||
<ul class="results">
|
||
<li class="state loading">Preparing search index...</li>
|
||
<li class="state failure">The search index is not available</li>
|
||
</ul>
|
||
<a href="../index.html" class="title">@esengine/egret-framework</a>
|
||
</div>
|
||
<div class="table-cell" id="tsd-widgets">
|
||
<div id="tsd-filter">
|
||
<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
|
||
<div class="tsd-filter-group">
|
||
<div class="tsd-select" id="tsd-filter-visibility">
|
||
<span class="tsd-select-label">All</span>
|
||
<ul class="tsd-select-list">
|
||
<li data-value="public">Public</li>
|
||
<li data-value="protected">Public/Protected</li>
|
||
<li data-value="private" class="selected">All</li>
|
||
</ul>
|
||
</div>
|
||
<input type="checkbox" id="tsd-filter-inherited" checked />
|
||
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
||
<input type="checkbox" id="tsd-filter-externals" checked />
|
||
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
||
<input type="checkbox" id="tsd-filter-only-exported" />
|
||
<label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
|
||
</div>
|
||
</div>
|
||
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="tsd-page-title">
|
||
<div class="container">
|
||
<ul class="tsd-breadcrumb">
|
||
<li>
|
||
<a href="../globals.html">Globals</a>
|
||
</li>
|
||
<li>
|
||
<a href="../modules/_ecs_components_physics_projectilemover_.html">"ECS/Components/Physics/ProjectileMover"</a>
|
||
</li>
|
||
<li>
|
||
<a href="../modules/_ecs_components_physics_projectilemover_.es.html">es</a>
|
||
</li>
|
||
<li>
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html">ProjectileMover</a>
|
||
</li>
|
||
</ul>
|
||
<h1>Class ProjectileMover</h1>
|
||
</div>
|
||
</div>
|
||
</header>
|
||
<div class="container container-main">
|
||
<div class="row">
|
||
<div class="col-8 col-content">
|
||
<section class="tsd-panel tsd-comment">
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>只向itriggerlistener报告冲突的移动器
|
||
该对象将始终移动完整的距离</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<section class="tsd-panel tsd-hierarchy">
|
||
<h3>Hierarchy</h3>
|
||
<ul class="tsd-hierarchy">
|
||
<li>
|
||
<a href="_ecs_component_.es.component.html" class="tsd-signature-type">Component</a>
|
||
<ul class="tsd-hierarchy">
|
||
<li>
|
||
<span class="target">ProjectileMover</span>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel">
|
||
<h3>Implements</h3>
|
||
<ul class="tsd-hierarchy">
|
||
<li><span class="tsd-signature-type">IHashObject</span></li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel-group tsd-index-group">
|
||
<h2>Index</h2>
|
||
<section class="tsd-panel tsd-index-panel">
|
||
<div class="tsd-index-content">
|
||
<section class="tsd-index-section tsd-is-inherited">
|
||
<h3>Constructors</h3>
|
||
<ul class="tsd-index-list">
|
||
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#constructor" class="tsd-kind-icon">constructor</a></li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-index-section ">
|
||
<h3>Properties</h3>
|
||
<ul class="tsd-index-list">
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-private"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#_hashcode" class="tsd-kind-icon">$hash<wbr>Code</a></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#_collider" class="tsd-kind-icon">_collider</a></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#_temptriggerlist" class="tsd-kind-icon">_temp<wbr>Trigger<wbr>List</a></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#debugdisplayobject" class="tsd-kind-icon">debug<wbr>Display<wbr>Object</a></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#entity" class="tsd-kind-icon">entity</a></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#hashcode" class="tsd-kind-icon">hash<wbr>Code</a></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#updateinterval" class="tsd-kind-icon">update<wbr>Interval</a></li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-index-section tsd-is-inherited">
|
||
<h3>Accessors</h3>
|
||
<ul class="tsd-index-list">
|
||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#enabled" class="tsd-kind-icon">enabled</a></li>
|
||
<li class="tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#transform" class="tsd-kind-icon">transform</a></li>
|
||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#updateorder" class="tsd-kind-icon">update<wbr>Order</a></li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-index-section ">
|
||
<h3>Methods</h3>
|
||
<ul class="tsd-index-list">
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#debugrender" class="tsd-kind-icon">debug<wbr>Render</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#initialize" class="tsd-kind-icon">initialize</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#move" class="tsd-kind-icon">move</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#notifytriggerlisteners" class="tsd-kind-icon">notify<wbr>Trigger<wbr>Listeners</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onaddedtoentity" class="tsd-kind-icon">on<wbr>Added<wbr>ToEntity</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#ondisabled" class="tsd-kind-icon">on<wbr>Disabled</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onenabled" class="tsd-kind-icon">on<wbr>Enabled</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onentitytransformchanged" class="tsd-kind-icon">on<wbr>Entity<wbr>Transform<wbr>Changed</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onremovedfromentity" class="tsd-kind-icon">on<wbr>Removed<wbr>From<wbr>Entity</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#setenabled" class="tsd-kind-icon">set<wbr>Enabled</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#setupdateorder" class="tsd-kind-icon">set<wbr>Update<wbr>Order</a></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#update" class="tsd-kind-icon">update</a></li>
|
||
</ul>
|
||
</section>
|
||
</div>
|
||
</section>
|
||
</section>
|
||
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
|
||
<h2>Constructors</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="constructor" class="tsd-anchor"></a>
|
||
<h3>constructor</h3>
|
||
<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">new <wbr>Projectile<wbr>Mover<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_components_physics_projectilemover_.es.projectilemover.html" class="tsd-signature-type">ProjectileMover</a></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#constructor">constructor</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/lib/egret.d.ts#L54">lib/egret.d.ts:54</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>创建一个 HashObject 对象</p>
|
||
</div>
|
||
<dl class="tsd-comment-tags">
|
||
<dt>version</dt>
|
||
<dd><p>Egret 2.4</p>
|
||
</dd>
|
||
<dt>platform</dt>
|
||
<dd><p>Web,Native</p>
|
||
</dd>
|
||
<dt>language</dt>
|
||
<dd><p>zh_CN</p>
|
||
</dd>
|
||
</dl>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <a href="_ecs_components_physics_projectilemover_.es.projectilemover.html" class="tsd-signature-type">ProjectileMover</a></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section class="tsd-panel-group tsd-member-group ">
|
||
<h2>Properties</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-private">
|
||
<a name="_hashcode" class="tsd-anchor"></a>
|
||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> $hash<wbr>Code</h3>
|
||
<div class="tsd-signature tsd-kind-icon">$hash<wbr>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_core_.es.core.html">Core</a>.<a href="_ecs_core_.es.core.html#_hashcode">$hashCode</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/lib/egret.d.ts#L71">lib/egret.d.ts:71</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
</div>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||
<a name="_collider" class="tsd-anchor"></a>
|
||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _collider</h3>
|
||
<div class="tsd-signature tsd-kind-icon">_collider<span class="tsd-signature-symbol">:</span> <a href="_ecs_components_physics_colliders_collider_.es.collider.html" class="tsd-signature-type">Collider</a></div>
|
||
<aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Physics/ProjectileMover.ts#L8">src/ECS/Components/Physics/ProjectileMover.ts:8</a></li>
|
||
</ul>
|
||
</aside>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||
<a name="_temptriggerlist" class="tsd-anchor"></a>
|
||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> _temp<wbr>Trigger<wbr>List</h3>
|
||
<div class="tsd-signature tsd-kind-icon">_temp<wbr>Trigger<wbr>List<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_ecs_components_physics_itriggerlistener_.es.itriggerlistener.html" class="tsd-signature-type">ITriggerListener</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> = []</span></div>
|
||
<aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Physics/ProjectileMover.ts#L7">src/ECS/Components/Physics/ProjectileMover.ts:7</a></li>
|
||
</ul>
|
||
</aside>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="debugdisplayobject" class="tsd-anchor"></a>
|
||
<h3>debug<wbr>Display<wbr>Object</h3>
|
||
<div class="tsd-signature tsd-kind-icon">debug<wbr>Display<wbr>Object<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">DisplayObjectContainer</span><span class="tsd-signature-symbol"> = new egret.DisplayObjectContainer()</span></div>
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#debugdisplayobject">debugDisplayObject</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L22">src/ECS/Component.ts:22</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>用于装载debug使用的显示容器</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="entity" class="tsd-anchor"></a>
|
||
<h3>entity</h3>
|
||
<div class="tsd-signature tsd-kind-icon">entity<span class="tsd-signature-symbol">:</span> <a href="_ecs_entity_.es.entity.html" class="tsd-signature-type">Entity</a></div>
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#entity">entity</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L14">src/ECS/Component.ts:14</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>此组件附加的实体</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="hashcode" class="tsd-anchor"></a>
|
||
<h3><span class="tsd-flag ts-flagReadonly">Readonly</span> hash<wbr>Code</h3>
|
||
<div class="tsd-signature tsd-kind-icon">hash<wbr>Code<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_core_.es.core.html">Core</a>.<a href="_ecs_core_.es.core.html#hashcode">hashCode</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/lib/egret.d.ts#L84">lib/egret.d.ts:84</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>返回此对象唯一的哈希值,用于唯一确定一个对象。hashCode为大于等于1的整数。</p>
|
||
</div>
|
||
<dl class="tsd-comment-tags">
|
||
<dt>version</dt>
|
||
<dd><p>Egret 2.4</p>
|
||
</dd>
|
||
<dt>platform</dt>
|
||
<dd><p>Web,Native</p>
|
||
</dd>
|
||
<dt>language</dt>
|
||
<dd><p>zh_CN</p>
|
||
</dd>
|
||
</dl>
|
||
</div>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="updateinterval" class="tsd-anchor"></a>
|
||
<h3>update<wbr>Interval</h3>
|
||
<div class="tsd-signature tsd-kind-icon">update<wbr>Interval<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 1</span></div>
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#updateinterval">updateInterval</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L18">src/ECS/Component.ts:18</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>更新该组件的时间间隔。这与实体的更新间隔无关。</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</section>
|
||
<section class="tsd-panel-group tsd-member-group tsd-is-inherited">
|
||
<h2>Accessors</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="enabled" class="tsd-anchor"></a>
|
||
<h3>enabled</h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> enabled<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#enabled">enabled</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L36">src/ECS/Component.ts:36</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>如果组件和实体都已启用,则为。当启用该组件时,将调用该组件的生命周期方法。状态的改变会导致调用onEnabled/onDisable。</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||
</li>
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#enabled">enabled</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L44">src/ECS/Component.ts:44</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>如果组件和实体都已启用,则为。当启用该组件时,将调用该组件的生命周期方法。状态的改变会导致调用onEnabled/onDisable。</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>value: <span class="tsd-signature-type">boolean</span></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="transform" class="tsd-anchor"></a>
|
||
<h3>transform</h3>
|
||
<ul class="tsd-signatures tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> transform<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="_ecs_transform_.es.transform.html" class="tsd-signature-type">Transform</a></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#transform">transform</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L27">src/ECS/Component.ts:27</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>快速访问 this.entity.transform</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <a href="_ecs_transform_.es.transform.html" class="tsd-signature-type">Transform</a></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="updateorder" class="tsd-anchor"></a>
|
||
<h3>update<wbr>Order</h3>
|
||
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">get</span> updateOrder<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
|
||
<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">set</span> updateOrder<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#updateorder">updateOrder</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L51">src/ECS/Component.ts:51</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>更新此实体上组件的顺序</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
|
||
</li>
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#updateorder">updateOrder</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L56">src/ECS/Component.ts:56</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>更新此实体上组件的顺序</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>value: <span class="tsd-signature-type">number</span></h5>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
<section class="tsd-panel-group tsd-member-group ">
|
||
<h2>Methods</h2>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="debugrender" class="tsd-anchor"></a>
|
||
<h3>debug<wbr>Render</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">debug<wbr>Render<span class="tsd-signature-symbol">(</span>camera<span class="tsd-signature-symbol">: </span><a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#debugrender">debugRender</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L88">src/ECS/Component.ts:88</a></li>
|
||
</ul>
|
||
</aside>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>camera: <a href="_ecs_components_camera_.es.camera.html" class="tsd-signature-type">Camera</a></h5>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="initialize" class="tsd-anchor"></a>
|
||
<h3>initialize</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">initialize<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#initialize">initialize</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L63">src/ECS/Component.ts:63</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>当此组件已分配其实体,但尚未添加到实体的活动组件列表时调用。有用的东西,如物理组件,需要访问转换来修改碰撞体的属性。</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
|
||
<a name="move" class="tsd-anchor"></a>
|
||
<h3>move</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
|
||
<li class="tsd-signature tsd-kind-icon">move<span class="tsd-signature-symbol">(</span>motion<span class="tsd-signature-symbol">: </span><a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Physics/ProjectileMover.ts#L20">src/ECS/Components/Physics/ProjectileMover.ts:20</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>移动考虑碰撞的实体</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>motion: <a href="_math_vector2_.es.vector2.html" class="tsd-signature-type">Vector2</a></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||
<a name="notifytriggerlisteners" class="tsd-anchor"></a>
|
||
<h3><span class="tsd-flag ts-flagPrivate">Private</span> notify<wbr>Trigger<wbr>Listeners</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||
<li class="tsd-signature tsd-kind-icon">notify<wbr>Trigger<wbr>Listeners<span class="tsd-signature-symbol">(</span>self<span class="tsd-signature-symbol">: </span><a href="_ecs_components_physics_colliders_collider_.es.collider.html" class="tsd-signature-type">Collider</a>, other<span class="tsd-signature-symbol">: </span><a href="_ecs_components_physics_colliders_collider_.es.collider.html" class="tsd-signature-type">Collider</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Physics/ProjectileMover.ts#L41">src/ECS/Components/Physics/ProjectileMover.ts:41</a></li>
|
||
</ul>
|
||
</aside>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>self: <a href="_ecs_components_physics_colliders_collider_.es.collider.html" class="tsd-signature-type">Collider</a></h5>
|
||
</li>
|
||
<li>
|
||
<h5>other: <a href="_ecs_components_physics_colliders_collider_.es.collider.html" class="tsd-signature-type">Collider</a></h5>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
||
<a name="onaddedtoentity" class="tsd-anchor"></a>
|
||
<h3>on<wbr>Added<wbr>ToEntity</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
||
<li class="tsd-signature tsd-kind-icon">on<wbr>Added<wbr>ToEntity<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Overrides <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onaddedtoentity">onAddedToEntity</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Components/Physics/ProjectileMover.ts#L10">src/ECS/Components/Physics/ProjectileMover.ts:10</a></li>
|
||
</ul>
|
||
</aside>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="ondisabled" class="tsd-anchor"></a>
|
||
<h3>on<wbr>Disabled</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">on<wbr>Disabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#ondisabled">onDisabled</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L100">src/ECS/Component.ts:100</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>禁用父实体或此组件时调用</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="onenabled" class="tsd-anchor"></a>
|
||
<h3>on<wbr>Enabled</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">on<wbr>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onenabled">onEnabled</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L94">src/ECS/Component.ts:94</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>当父实体或此组件启用时调用</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="onentitytransformchanged" class="tsd-anchor"></a>
|
||
<h3>on<wbr>Entity<wbr>Transform<wbr>Changed</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">on<wbr>Entity<wbr>Transform<wbr>Changed<span class="tsd-signature-symbol">(</span>comp<span class="tsd-signature-symbol">: </span><a href="../enums/_ecs_transform_.transform.component.html" class="tsd-signature-type">Component</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onentitytransformchanged">onEntityTransformChanged</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L82">src/ECS/Component.ts:82</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>当实体的位置改变时调用。这允许组件知道它们由于父实体的移动而移动了。</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>comp: <a href="../enums/_ecs_transform_.transform.component.html" class="tsd-signature-type">Component</a></h5>
|
||
<div class="tsd-comment tsd-typography">
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="onremovedfromentity" class="tsd-anchor"></a>
|
||
<h3>on<wbr>Removed<wbr>From<wbr>Entity</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">on<wbr>Removed<wbr>From<wbr>Entity<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#onremovedfromentity">onRemovedFromEntity</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L75">src/ECS/Component.ts:75</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>当此组件从其实体中移除时调用。在这里做所有的清理工作。</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="setenabled" class="tsd-anchor"></a>
|
||
<h3>set<wbr>Enabled</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">set<wbr>Enabled<span class="tsd-signature-symbol">(</span>isEnabled<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#setenabled">setEnabled</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L109">src/ECS/Component.ts:109</a></li>
|
||
</ul>
|
||
</aside>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>isEnabled: <span class="tsd-signature-type">boolean</span></h5>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="setupdateorder" class="tsd-anchor"></a>
|
||
<h3>set<wbr>Update<wbr>Order</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">set<wbr>Update<wbr>Order<span class="tsd-signature-symbol">(</span>updateOrder<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">this</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#setupdateorder">setUpdateOrder</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L123">src/ECS/Component.ts:123</a></li>
|
||
</ul>
|
||
</aside>
|
||
<h4 class="tsd-parameters-title">Parameters</h4>
|
||
<ul class="tsd-parameters">
|
||
<li>
|
||
<h5>updateOrder: <span class="tsd-signature-type">number</span></h5>
|
||
</li>
|
||
</ul>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a name="update" class="tsd-anchor"></a>
|
||
<h3>update</h3>
|
||
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<li class="tsd-signature tsd-kind-icon">update<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
||
</ul>
|
||
<ul class="tsd-descriptions">
|
||
<li class="tsd-description">
|
||
<aside class="tsd-sources">
|
||
<p>Inherited from <a href="_ecs_component_.es.component.html">Component</a>.<a href="_ecs_component_.es.component.html#update">update</a></p>
|
||
<ul>
|
||
<li>Defined in <a href="https://github.com/esengine/egret-framework/blob/562bacb/source/src/ECS/Component.ts#L106">src/ECS/Component.ts:106</a></li>
|
||
</ul>
|
||
</aside>
|
||
<div class="tsd-comment tsd-typography">
|
||
<div class="lead">
|
||
<p>当该组件启用时每帧进行调用</p>
|
||
</div>
|
||
</div>
|
||
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
</section>
|
||
</div>
|
||
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
||
<nav class="tsd-navigation primary">
|
||
<ul>
|
||
<li class="globals ">
|
||
<a href="../globals.html"><em>Globals</em></a>
|
||
</li>
|
||
<li class="current tsd-kind-module">
|
||
<a href="../modules/_ecs_components_physics_projectilemover_.html">"ECS/<wbr>Components/<wbr>Physics/<wbr>Projectile<wbr>Mover"</a>
|
||
<ul>
|
||
<li class="current tsd-kind-namespace tsd-parent-kind-module">
|
||
<a href="../modules/_ecs_components_physics_projectilemover_.es.html">es</a>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</nav>
|
||
<nav class="tsd-navigation secondary menu-sticky">
|
||
<ul class="before-current">
|
||
</ul>
|
||
<ul class="current">
|
||
<li class="current tsd-kind-class tsd-parent-kind-namespace">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html" class="tsd-kind-icon">Projectile<wbr>Mover</a>
|
||
<ul>
|
||
<li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#constructor" class="tsd-kind-icon">constructor</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-private">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#_hashcode" class="tsd-kind-icon">$hash<wbr>Code</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#_collider" class="tsd-kind-icon">_collider</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-private">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#_temptriggerlist" class="tsd-kind-icon">_temp<wbr>Trigger<wbr>List</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#debugdisplayobject" class="tsd-kind-icon">debug<wbr>Display<wbr>Object</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#entity" class="tsd-kind-icon">entity</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#hashcode" class="tsd-kind-icon">hash<wbr>Code</a>
|
||
</li>
|
||
<li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#updateinterval" class="tsd-kind-icon">update<wbr>Interval</a>
|
||
</li>
|
||
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#enabled" class="tsd-kind-icon">enabled</a>
|
||
</li>
|
||
<li class=" tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#transform" class="tsd-kind-icon">transform</a>
|
||
</li>
|
||
<li class=" tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#updateorder" class="tsd-kind-icon">update<wbr>Order</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#debugrender" class="tsd-kind-icon">debug<wbr>Render</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#initialize" class="tsd-kind-icon">initialize</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#move" class="tsd-kind-icon">move</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#notifytriggerlisteners" class="tsd-kind-icon">notify<wbr>Trigger<wbr>Listeners</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onaddedtoentity" class="tsd-kind-icon">on<wbr>Added<wbr>ToEntity</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#ondisabled" class="tsd-kind-icon">on<wbr>Disabled</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onenabled" class="tsd-kind-icon">on<wbr>Enabled</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onentitytransformchanged" class="tsd-kind-icon">on<wbr>Entity<wbr>Transform<wbr>Changed</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#onremovedfromentity" class="tsd-kind-icon">on<wbr>Removed<wbr>From<wbr>Entity</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#setenabled" class="tsd-kind-icon">set<wbr>Enabled</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#setupdateorder" class="tsd-kind-icon">set<wbr>Update<wbr>Order</a>
|
||
</li>
|
||
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
|
||
<a href="_ecs_components_physics_projectilemover_.es.projectilemover.html#update" class="tsd-kind-icon">update</a>
|
||
</li>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
<ul class="after-current">
|
||
</ul>
|
||
</nav>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="with-border-bottom">
|
||
<div class="container">
|
||
<h2>Legend</h2>
|
||
<div class="tsd-legend-group">
|
||
<ul class="tsd-legend">
|
||
<li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
|
||
<li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
|
||
</ul>
|
||
<ul class="tsd-legend">
|
||
<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
|
||
<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
|
||
</ul>
|
||
<ul class="tsd-legend">
|
||
<li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
||
</ul>
|
||
<ul class="tsd-legend">
|
||
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
|
||
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
|
||
</ul>
|
||
<ul class="tsd-legend">
|
||
<li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
<div class="container tsd-generator">
|
||
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
||
</div>
|
||
<div class="overlay"></div>
|
||
<script src="../assets/js/main.js"></script>
|
||
<script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
|
||
</body>
|
||
</html> |