Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Scene_Battle

Scene class of the battle screen.

Hierarchy

Implements

Index

Constructors

Properties

Methods

Constructors

Protected constructor

Properties

Protected _bounds

_bounds: Bounds

Protected _boundsID

_boundsID: number

Protected _boundsRect

_boundsRect: Rectangle

Protected _cacheAsBitmap

_cacheAsBitmap: boolean

Protected _cacheData

_cacheData: boolean

Protected Readonly _destroyed

_destroyed: boolean

Protected _enabledFilters

_enabledFilters: Filter[] | null

Protected _filters

_filters: Filter[] | null

Protected _lastBoundsID

_lastBoundsID: number

Protected _localBoundsRect

_localBoundsRect: Rectangle

Protected _mask

_mask: Graphics | Sprite

_windowLayer

_windowLayer: WindowLayer

accessible

accessible: boolean

accessibleHint

accessibleHint: string | null

accessibleTitle

accessibleTitle: string | null

alpha

alpha: number

buttonMode

buttonMode: boolean

cacheAsBitmap

cacheAsBitmap: boolean

children

children: DisplayObject[]

cursor

cursor: string

defaultCursor

defaultCursor: string

filterArea

filterArea: Rectangle

filters

filters: Filter[] | null

height

height: number

hitArea

interactive

interactive: boolean

interactiveChildren

interactiveChildren: boolean

localTransform

localTransform: Matrix

mask

name

name: string | null

Protected onChildrenChange

onChildrenChange: (...args: any[]) => void

Type declaration

    • (...args: any[]): void
    • Parameters

      • Rest ...args: any[]

      Returns void

parent

parent: Container

pivot

position

renderable

renderable: boolean

rotation

rotation: number

scale

skew

tabIndex

tabIndex: number

transform

transform: TransformBase

visible

visible: boolean

width

width: number

worldAlpha

worldAlpha: number

worldTransform

worldTransform: Matrix

worldVisible

worldVisible: boolean

x

x: number

y

y: number

Static EventEmitter

EventEmitter: { constructor: any; prefixed: string | boolean }

Type declaration

Static prefixed

prefixed: string | boolean

Methods

Protected _cacheAsBitmapDestroy

  • _cacheAsBitmapDestroy(options: boolean | any): void

Protected _calculateBounds

  • _calculateBounds(): void

Protected _calculateCachedBounds

Protected _destroyCachedDisplayObject

  • _destroyCachedDisplayObject(): void

Protected _getCachedLocalBounds

Protected _initCachedDisplayObject

Protected _initCachedDisplayObjectCanvas

Protected _recursivePostUpdateTransform

  • _recursivePostUpdateTransform(): void

Protected _renderCachedCanvas

Protected _renderCachedWebGL

Protected _renderCanvas

Protected _renderWebGL

addChild

addChildAt

addListener

addWindow

calculateBounds

  • calculateBounds(): void

changeInputWindow

  • changeInputWindow(): void

checkGameOver

  • checkGameOver(): void

commandAttack

  • commandAttack(): void

commandEscape

  • commandEscape(): void

commandFight

  • commandFight(): void

commandGuard

  • commandGuard(): void

commandItem

  • commandItem(): void

commandSkill

  • commandSkill(): void

Protected containerUpdateTransform

  • containerUpdateTransform(): void

create

  • create(): void

createActorCommandWindow

  • createActorCommandWindow(): void

createActorWindow

  • createActorWindow(): void

createAllWindows

  • createAllWindows(): void

createDisplayObjects

  • createDisplayObjects(): void

createEnemyWindow

  • createEnemyWindow(): void

createFadeSprite

  • createFadeSprite(white: boolean): void

createHelpWindow

  • createHelpWindow(): void

createItemWindow

  • createItemWindow(): void

createLogWindow

  • createLogWindow(): void

createMessageWindow

  • createMessageWindow(): void

createPartyCommandWindow

  • createPartyCommandWindow(): void

createScrollTextWindow

  • createScrollTextWindow(): void

createSkillWindow

  • createSkillWindow(): void

createSpriteset

  • createSpriteset(): void

createStatusWindow

  • createStatusWindow(): void

createWindowLayer

  • createWindowLayer(): void

destroy

Protected displayObjectUpdateTransform

  • displayObjectUpdateTransform(): void

emit

  • emit(event: string | symbol, ...args: any[]): boolean
  • Calls each of the listeners registered for a given event.

    Parameters

    • event: string | symbol

      The event name.

    • Rest ...args: any[]

      Arguments that are passed to registered listeners

    Returns boolean

    true if the event had listeners, else false.

endCommandSelection

  • endCommandSelection(): void

eventNames

  • eventNames(): Array<string | symbol>

fadeOutAll

  • fadeOutAll(): void

fadeSpeed

  • fadeSpeed(): number

getBounds

getChildAt

getChildByName

getChildIndex

getGlobalPosition

  • getGlobalPosition(point?: Point, skipUpdate?: boolean): Point

getLocalBounds

initialize

  • initialize(): void

isActive

  • isActive(): boolean

isAnyInputWindowActive

  • isAnyInputWindowActive(): boolean

isBusy

  • isBusy(): boolean

isReady

  • isReady(): boolean

listeners

  • listeners(event: string | symbol): Function[]
  • listeners(event: string | symbol, exists: boolean): boolean

needsSlowFadeOut

  • needsSlowFadeOut(): boolean

off

  • off(event: "added" | "removed" | string, fn?: Function, context?: any): this

on

  • on(event: "added" | "removed", fn: (displayObject: DisplayObject) => void, context?: any): this
  • on(event: string, fn: Function, context?: any): this

onActorCancel

  • onActorCancel(): void

onActorOk

  • onActorOk(): void

onEnemyCancel

  • onEnemyCancel(): void

onEnemyOk

  • onEnemyOk(): void

onItemCancel

  • onItemCancel(): void

onItemOk

  • onItemOk(): void

onSelectAction

  • onSelectAction(): void

onSkillCancel

  • onSkillCancel(): void

onSkillOk

  • onSkillOk(): void

once

  • once(event: "added" | "removed", fn: (displayObject: DisplayObject) => void, context?: any): this
  • once(event: string, fn: Function, context?: any): this

popScene

  • popScene(): void

refreshStatus

  • refreshStatus(): void

removeAllListeners

removeChild

removeChildAt

removeChildren

  • removeChildren(beginIndex?: number, endIndex?: number): DisplayObject[]

removeListener

renderAdvancedWebGL

renderCanvas

renderWebGL

selectActorSelection

  • selectActorSelection(): void

selectEnemySelection

  • selectEnemySelection(): void

selectNextCommand

  • selectNextCommand(): void

selectPreviousCommand

  • selectPreviousCommand(): void

setChildIndex

setMaxListeners

  • setMaxListeners(): this

setParent

setTransform

  • setTransform(x?: number, y?: number, scaleX?: number, scaleY?: number, rotation?: number, skewX?: number, skewY?: number, pivotX?: number, pivotY?: number): DisplayObject

slowFadeSpeed

  • slowFadeSpeed(): number

start

  • start(): void

startActorCommandSelection

  • startActorCommandSelection(): void

startFadeIn

  • startFadeIn(duration: number, white: boolean): void
  • Request a fadeIn screen process

    Parameters

    • duration: number

      The time the process will take to fadeIn the screen.

    • white: boolean

      If true the fadeIn will process with a white color else it will be black.

    Returns void

startFadeOut

  • startFadeOut(duration: number, white: boolean): void
  • Request a fadeOut screen process

    Parameters

    • duration: number

      The time the process will take to fadeOut the screen.

    • white: boolean

      If true the fadeOut will process with a white color else it will be black.

    Returns void

startPartyCommandSelection

  • startPartyCommandSelection(): void

stop

  • stop(): void

swapChildren

terminate

  • terminate(): void

toGlobal

toLocal

trackedPointers

  • trackedPointers(): {}

update

  • update(): void

updateBattleProcess

  • updateBattleProcess(): void

updateChildren

  • updateChildren(): void

updateFade

  • updateFade(): void

updateStatusWindow

  • updateStatusWindow(): void

updateTransform

  • updateTransform(): void

updateWindowPositions

  • updateWindowPositions(): void

Generated using TypeDoc