Class: PlaySound

PlaySound(name)

Simple wrapper function for playing sounds that are associated with entities

Constructor

new PlaySound(name)

Parameters:
Name Type Description
name Typically one of 'walk', 'run', 'attack', 'death', 'build', 'gather_fruit', 'gather_grain', 'gather_wood', 'gather_stone', 'gather_metal'
Source: