RoloLudo/RoloLudo.package/SfAsset.class/instance/fromDictionary..st

6 lines
176 B
Smalltalk

accessing
fromDictionary: aDictionary
name := aDictionary at: #Name.
category := aDictionary at: 'Name'.
abilities := self populateAbilities: (aDictionary at: #Abilities)