Class

PoolManager

PoolManager(owner, version, x, y)

Poolの管理を行うオブジェクト.

Constructor

# new PoolManager(owner, version, x, y)

指定された設定でインスタンスを生成する.

Parameters:
Name Type Description
owner stdgam.Scene

このオブジェクトを使用するシーン

version number

Poolに渡す引数

x number

配置する位置のx座標

y number

配置する位置のy座標

Properties:
Name Type Description
x number

配置する位置のx座標

y number

配置する位置のy座標

showOnlyCard boolean

trueならカードだけを表示する

active boolean

(stdgam.Sceneの意味で) このオブジェクトが有効か

View Source battle.js, line 694

Methods

# addr() → {Array.<number>}

View Source battle.js, line 738

次のカードを配置する座標.

Array.<number>

# chargeUp(percent)

チャージボーナスの加算処理を行う.

Parameters:
Name Type Description
percent number

加算するチャージボーナス

View Source battle.js, line 746

# consumeMP(playerMP)

チャージMPをplayerMPに加算した値を返す. このとき同時にチャージMPを0にする.

Parameters:
Name Type Description
playerMP number

プレイヤーのMP

View Source battle.js, line 798

playerMPにチャージMPを加算した値

# draw(GE, ctx)

現在の状態を描画する.

Parameters:
Name Type Description
GE stdgam.GameEngine

この処理に用いるGameEngine

ctx CanvasRenderingContext2D

描画に用いるコンテクスト

View Source battle.js, line 826

# extraScan()

追加スキャンの処理を行う. param {Cardlike} card - 追加スキャンするカード

View Source battle.js, line 777

# halveMP()

チャージMPの選択肢補正を0.5にする.

View Source battle.js, line 788

# generator invokeSkills(GE)

スキル発動処理を行うジェネレータを生成する.

Parameters:
Name Type Description
GE stdgam.GameEngine

この処理に用いるGameEngine

View Source battle.js, line 810

# putCard(card)

指定されたカードを場に出す処理を行う.

Parameters:
Name Type Description
card Cardlike

場に出すカード

View Source battle.js, line 755

# recalculate() → {boolean}

MPBoostBySuitの変更時に, MPの再計算処理を行う.

View Source battle.js, line 767

MPに変化があった場合true, そうでなければfalse

boolean