An example of extension of ObjectEntity in MelonJS