Options
All
  • Public
  • Public/Protected
  • All
Menu

An interface describing loadable resources in Excalibur. Built-in loadable resources include [[Texture]], Sound, and a generic Resource.

Type Parameters

  • T

Hierarchy

  • Loadable

Implemented by

Index

Properties

Methods

Properties

data: T

Data associated with a loadable

Methods

  • isLoaded(): boolean
  • load(): Promise<T>
  • Begins loading the resource and returns a promise to be resolved on completion

    Returns Promise<T>