update method
dynamic
update()
Implementation
update() {
setPosition(position["x"], position["y"]);
setSize(size["width"], size["height"]);
}
update() {
setPosition(position["x"], position["y"]);
setSize(size["width"], size["height"]);
}