diff --git a/site/examples/ball-example/three/components.mjs b/site/examples/ball-example/three/components.mjs index 62a6475a..3c57cdf9 100644 --- a/site/examples/ball-example/three/components.mjs +++ b/site/examples/ball-example/three/components.mjs @@ -3,7 +3,12 @@ import { TagComponent, Component, Types } from "../../../build/ecsy.module.js"; export class Collidable extends TagComponent {} export class Collider extends TagComponent {} export class Recovering extends TagComponent {} -export class Moving extends TagComponent {} + +export class Moving extends Component {} + +Moving.schema = { + offset: { type: Types.Number, default: 0 } +}; export class PulsatingScale extends Component {}