Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game_Picture

The game object class for a picture.

class

Game_Picture

Hierarchy

  • Game_Picture

Index

Properties

Protected _angle

_angle: number

Protected _blendMode

_blendMode: number

Protected _duration

_duration: number

Protected _name

_name: string

_name property of the current picture.

type

{string}

memberof

Game_Picture

Protected _opacity

_opacity: number

Protected _origin

_origin: number

Protected _rotationSpeed

_rotationSpeed: number

Protected _scaleX

_scaleX: number

Protected _scaleY

_scaleY: number

Protected _targetOpacity

_targetOpacity: number

Protected _targetScaleX

_targetScaleX: number

Protected _targetScaleY

_targetScaleY: number

Protected _targetX

_targetX: number

Protected _targetY

_targetY: number

Protected _tone

_tone: Array<number>

Protected _toneDuration

_toneDuration: number

Protected _toneTarget

_toneTarget: Array<number>

Protected _x

_x: number

Protected _y

_y: number

Methods

angle

  • angle(): number

blendMode

  • blendMode(): number

erase

  • erase(): void

initBasic

  • initBasic(): void

initRotation

  • initRotation(): void

initTarget

  • initTarget(): void

initTone

  • initTone(): void

move

  • move(origin: number, x: number, y: number, scaleX: number, scaleY: number, opacity: number, blendMode: number, duration: number): void
  • Parameters

    • origin: number
    • x: number
    • y: number
    • scaleX: number
    • scaleY: number
    • opacity: number
    • blendMode: number
    • duration: number

    Returns void

name

  • name(): string

opacity

  • opacity(): number

origin

  • origin(): number

rotate

  • rotate(speed: number): void

scaleX

  • scaleX(): number

scaleY

  • scaleY(): number

show

  • show(name: string, origin: number, x: number, y: number, scaleX: number, scaleY: number, opacity: number, blendMode: number): void
  • Parameters

    • name: string
    • origin: number
    • x: number
    • y: number
    • scaleX: number
    • scaleY: number
    • opacity: number
    • blendMode: number

    Returns void

tint

  • tint(tone: Array<number>, duration: number): void

tone

  • tone(): Array<number>

update

  • update(): void

updateMove

  • updateMove(): void

updateRotation

  • updateRotation(): void

updateTone

  • updateTone(): void

x

  • x(): number

y

  • y(): number

Generated using TypeDoc