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

Properties

Methods

Properties

data: T

Data associated with a loadable

Methods

  • Begins loading the resource and returns a promise to be resolved on completion

    Returns Promise<T>