CharacterStorage¶
class CharacterStorage
The CharacterStorage is a cache for all Character
s defined in your
yarn scripts. This container is populated from the <<character>>
commands as the YarnProject parses the input scripts.
Properties¶
isEmpty → bool
isNotEmpty → bool
Methods¶
contains(String name) → bool
Returns true
if a character with the given name or alias was defined.
operator[](String name) → Character?
Retrieves the character with the given name/alias, or returns null
if
such character was not present.
The content on this page is licensed under the CC BY 4.0 License,
and code samples under the MIT License.