Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ImageManagerStatic

ImageManager The static class that loads iamges, create bitmap objects and retains them.

interface

ImageManagerStatic

Hierarchy

  • ImageManagerStatic

Index

Properties

cache

cache: CacheMap

Methods

clear

  • clear(): void

isBigCharacter

  • isBigCharacter(filename: string): boolean
  • Returns true if the given filename is a large character. Must contain a '$' in the file name to be a large character.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string

    Returns boolean

isObjectCharacter

  • isObjectCharacter(filename: string): boolean
  • Returns true if the given filename is an object character. Must contain a '!' in the file name to be an object character.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string

    Returns boolean

isReady

  • isReady(): boolean

isZeroParallax

  • isZeroParallax(filename: string): boolean

loadAnimation

  • loadAnimation(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/animations/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadBattleback1

  • loadBattleback1(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/battlebacks1/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadBattleback2

  • loadBattleback2(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/battlebacks2/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadBitmap

  • loadBitmap(folder: string, filename: string, hue: number, smooth: boolean): Bitmap
  • Loads a Bitmap object from any folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • folder: string
    • filename: string
    • hue: number
    • smooth: boolean

    Returns Bitmap

loadCharacter

  • loadCharacter(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/characters/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadEmptyBitmap

  • loadEmptyBitmap(path: string, hue: number): Bitmap

loadEnemy

  • loadEnemy(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/enemies/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadFace

  • loadFace(filename: string, hue?: number): Bitmap

loadNormalBitmap

  • loadNormalBitmap(path: string, hue: number): Bitmap

loadParallax

  • loadParallax(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/parallaxes/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadPicture

  • loadPicture(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/pictures/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadSvActor

  • loadSvActor(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/sv_actors/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadSvEnemy

  • loadSvEnemy(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/sv_enemies/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadSystem

  • loadSystem(filename: string, hue?: number): Bitmap

loadTileset

  • loadTileset(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/tilesets/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadTitle1

  • loadTitle1(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/titles1/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

loadTitle2

  • loadTitle2(filename: string, hue?: number): Bitmap
  • Loads a Bitmap object from the 'img/titles2/' folder and returns it.

    memberof

    ImageManagerStatic

    Parameters

    • filename: string
    • Optional hue: number

    Returns Bitmap

Generated using TypeDoc