documentation index ◦ reference manual ◦ function index
Method: | Character.copy | (...): |
The copy method on Characters takes the same arguments as the funcref Character constructor, with the exception that the name argument is optional. This method returns a new Character object, one that is created by combining the arguments of the original constructor and this method, with the arguments provided by this method taking precedence.
init: $ e = Character("Eileen") $ e_red = e.copy(color="#f00")