# RpgResource


  • Property: spritesheets
  • Type: Map< string, string >
  • Optional: false
  • Usage:

Get/Set images in resources

 import { RpgResource } from '@rpg/client'
 const fileLink = RpgResource.spritesheets.get('resource_id')

  • Property: sounds
  • Type: Map< string, string >
  • Optional: false
  • Usage:

Get/Set sounds in resources

 import { RpgResource } from '@rpg/client'
 const fileLink = RpgResource.sounds.get('resource_id')