Skip to content

Commit

Permalink
add wired-prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Jun 30, 2024
1 parent 90d5592 commit 7fcd76f
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions spatial/wit/wired-prelude/deps/wired-input
1 change: 1 addition & 0 deletions spatial/wit/wired-prelude/deps/wired-log
1 change: 1 addition & 0 deletions spatial/wit/wired-prelude/deps/wired-math
1 change: 1 addition & 0 deletions spatial/wit/wired-prelude/deps/wired-physics
1 change: 1 addition & 0 deletions spatial/wit/wired-prelude/deps/wired-scene
17 changes: 17 additions & 0 deletions spatial/wit/wired-prelude/world.wit
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package wired:prelude;

// Prelude to be `include`d in your world for ease of use.
world imports {
import wired:input/handler;
import wired:log/api;
import wired:math/types;
import wired:physics/types;
import wired:scene/material;
import wired:scene/mesh;
import wired:scene/node;
}

world script {
include imports;
include wired:script/script;
}

0 comments on commit 7fcd76f

Please sign in to comment.