RoloLudo/RoloLudo.package/SfPlayerCharacter.class/instance/momentum.st

8 lines
143 B
Smalltalk
Raw Normal View History

accessing
momentum
^ momentum ifNil: [
momentum := Dictionary new
at: 'max' put: 10;
at: 'reset' put: 2;
at: 'current' put: 2.
]