Appearance
RpgResource
Get/Set image link
- Property:
spritesheets
- Type:
Map< string, string >
- Optional:
false
- Usage:
Get/Set images in resources
ts
import { RpgResource } from '@rpg/client'
const fileLink = RpgResource.spritesheets.get('resource_id')
Get/Set sound link
- Property:
sounds
- Type:
Map< string, string >
- Optional:
false
- Usage:
Get/Set sounds in resources
ts
import { RpgResource } from '@rpg/client'
const fileLink = RpgResource.sounds.get('resource_id')