Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game_Picture


The game object class for a picture.

Hierarchy

  • Game_Picture

Index

Constructors

constructor

Properties

_angle

_angle: number

_blendMode

_blendMode: number

Blend Mode, accepts an integer.

_duration

_duration: number

Protected _name

_name: string

_name property of the current picture.

memberof

Game_Picture

_opacity

_opacity: number

_origin

_origin: number

_rotationSpeed

_rotationSpeed: number

_scaleX

_scaleX: number

_scaleY

_scaleY: number

_targetOpacity

_targetOpacity: number

_targetScaleX

_targetScaleX: number

_targetScaleY

_targetScaleY: number

_targetX

_targetX: number

_targetY

_targetY: number

_tone

_tone: number[]

Tone of the picture, in RGB format. 0 - 255, for all three tone elements.

_toneDuration

_toneDuration: number

_toneTarget

_toneTarget: number[]

_x

_x: number

_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

initialize

  • initialize(): void

move

  • move(origin: number, x: number, y: number, scaleX: number, scaleY: number, opacity: number, blendMode: number, duration: number): 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

tint

  • tint(tone: number[], duration: number): void

tone

  • tone(): number[]

update

  • update(): void

updateMove

  • updateMove(): void

updateRotation

  • updateRotation(): void

updateTone

  • updateTone(): void

x

  • x(): number

y

  • y(): number

Generated using TypeDoc