InterfacesLoadableOn this pageLoadable <T>An interface describing loadable resources in Excalibur. Built-in loadable resources include Texture, Sound, and a generic Resource.Implemented byDefaultLoaderFontSourceGifImageSourceResourceSoundIndex PropertiesdataMethodsisLoadedloadProperties datadata: TData associated with a loadableMethods isLoadedisLoaded(): booleanReturns true if the loadable is loadedReturns booleanloadload(): Promise<T>Begins loading the resource and returns a promise to be resolved on completionReturns Promise<T>
An interface describing loadable resources in Excalibur. Built-in loadable resources include Texture, Sound, and a generic Resource.