Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Fix threejs example moving schema. #290

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion site/examples/ball-example/three/components.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand Down