Update 'Adding new objects'

Adsooi 2021-06-23 10:53:21 -04:00
parent 040553cd62
commit eac51bbdaa

@ -112,7 +112,11 @@ So to create a new object, choose one of the two to extend, and then create a cl
```
- You can also use `Function.drawFunction(canvas, ctx, expr, definitionDomain, destinationDomain, drawPoints = true, drawDash = true)` to rapidly draw a function created on the canvas.
### Other optional methods:
update() {
- `update()`
- Called every time a property of the object is changed.
- `getLabel()`
- Shorthand method you can use to get your label string depending on the state of labelContent.
- You can extend it to suit your own needs for your objects.
### Registering your object