lowercase folders for Rust convention compatibility
This commit is contained in:
parent
c620e4c982
commit
5c9552fe49
22 changed files with 35 additions and 35 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
import { Layer, SpriteSheet } from "../Applet/Render";
|
||||
import { Layer, SpriteSheet } from "../applet/Render";
|
||||
import { Component, copyDense, copySparse, EntityState, StateForSchema, Store } from "./Data";
|
||||
|
||||
export class Box {
|
|
@ -1,4 +1,4 @@
|
|||
import { DrawSet, Layer } from "../Applet/Render";
|
||||
import { DrawSet, Layer } from "../applet/Render";
|
||||
import { Data } from "./Components";
|
||||
import { Join } from "./Data";
|
||||
import { TransformCx } from "./Location";
|
|
@ -1,7 +1,7 @@
|
|||
import { Select } from "../Applet/Init";
|
||||
import { KeyControl } from "../Applet/Keyboard";
|
||||
import { Loop } from "../Applet/Loop";
|
||||
import { DrawSet, Layer } from "../Applet/Render";
|
||||
import { Select } from "../applet/Init";
|
||||
import { KeyControl } from "../applet/Keyboard";
|
||||
import { Loop } from "../applet/Loop";
|
||||
import { DrawSet, Layer } from "../applet/Render";
|
||||
import { FindCollisions } from "./Collision";
|
||||
import {
|
||||
CollisionClass,
|
|
@ -1,6 +1,6 @@
|
|||
import { PlaySfx } from "../Applet/Audio";
|
||||
import { Location, Polygon, PolygonComponent, RenderBounds } from "../Ecs/Components";
|
||||
import { Create, Id, Join, Lookup, Remove } from "../Ecs/Data";
|
||||
import { PlaySfx } from "../applet/Audio";
|
||||
import { Location, Polygon, PolygonComponent, RenderBounds } from "../ecs/Components";
|
||||
import { Create, Id, Join, Lookup, Remove } from "../ecs/Data";
|
||||
import { Data, Lifetime, Teams, World } from "./GameComponents";
|
||||
|
||||
export function SelfDestructMinions(data: Data, world: World) {
|
|
@ -1,9 +1,9 @@
|
|||
import { KeyName } from "../Applet/Keyboard";
|
||||
import { DrawSet, Layer } from "../Applet/Render";
|
||||
import { ComponentSchema, Data as EcsData } from "../Ecs/Components";
|
||||
import { Component, copySparse, Join, StateForSchema, Store } from "../Ecs/Data";
|
||||
import { DumbMotion } from "../Ecs/Location";
|
||||
import { INPUT_FREQUENCY, LockstepProcessor } from "../Ecs/Lockstep";
|
||||
import { KeyName } from "../applet/Keyboard";
|
||||
import { DrawSet, Layer } from "../applet/Render";
|
||||
import { ComponentSchema, Data as EcsData } from "../ecs/Components";
|
||||
import { Component, copySparse, Join, StateForSchema, Store } from "../ecs/Data";
|
||||
import { DumbMotion } from "../ecs/Location";
|
||||
import { INPUT_FREQUENCY, LockstepProcessor } from "../ecs/Lockstep";
|
||||
import { Buttons } from "./Input";
|
||||
|
||||
export enum GamePhase {
|
|
@ -1,4 +1,4 @@
|
|||
import { KeyHandler, KeyName } from "../Applet/Keyboard";
|
||||
import { KeyHandler, KeyName } from "../applet/Keyboard";
|
||||
|
||||
export class Buttons implements KeyHandler {
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
import pipe from "callbag-pipe";
|
||||
import subscribe from "callbag-subscribe";
|
||||
|
||||
import { KeyControl, KeyName } from "../Applet/Keyboard";
|
||||
import { DrawSet } from "../Applet/Render";
|
||||
import { Location, PolygonComponent, RenderBounds } from "../Ecs/Components";
|
||||
import { Create } from "../Ecs/Data";
|
||||
import { RunRenderBounds } from "../Ecs/Renderers";
|
||||
import { LockstepClient } from "../Net/LockstepClient";
|
||||
import { LoopbackServer } from "../Net/LoopbackServer";
|
||||
import { KeyControl, KeyName } from "../applet/Keyboard";
|
||||
import { DrawSet } from "../applet/Render";
|
||||
import { Location, PolygonComponent, RenderBounds } from "../ecs/Components";
|
||||
import { Create } from "../ecs/Data";
|
||||
import { RunRenderBounds } from "../ecs/Renderers";
|
||||
import { LockstepClient } from "../net/LockstepClient";
|
||||
import { LoopbackServer } from "../net/LoopbackServer";
|
||||
import { Data, Engine, PlayerControl } from "./GameComponents";
|
||||
import { Buttons } from "./Input";
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
import { DrawSet } from "../Applet/Render";
|
||||
import { Join, Remove } from "../Ecs/Data";
|
||||
import { TransformCx } from "../Ecs/Location";
|
||||
import { DrawSet } from "../applet/Render";
|
||||
import { Join, Remove } from "../ecs/Data";
|
||||
import { TransformCx } from "../ecs/Location";
|
||||
import { Data, GamePhase, World } from "./GameComponents";
|
||||
|
||||
/*export function SpawnMessage(color: string, text: string) {
|
12
src/index.ts
12
src/index.ts
|
@ -1,9 +1,9 @@
|
|||
import { Select } from "./Applet/Init";
|
||||
import { KeyName } from "./Applet/Keyboard";
|
||||
import { BindTests } from "./Ecs/test";
|
||||
import { Data } from "./Game/GameComponents";
|
||||
import { Main } from "./Game/Main";
|
||||
import { LoopbackServer } from "./Net/LoopbackServer";
|
||||
import { Select } from "./applet/Init";
|
||||
import { KeyName } from "./applet/Keyboard";
|
||||
import { BindTests } from "./ecs/test";
|
||||
import { Data } from "./game/GameComponents";
|
||||
import { Main } from "./game/Main";
|
||||
import { LoopbackServer } from "./net/LoopbackServer";
|
||||
|
||||
/* // Hot Module Reloading stub, if that's viable
|
||||
* declare const module: any;
|
||||
|
|
|
@ -4,7 +4,7 @@ import animationFrames from "callbag-animation-frames";
|
|||
import map from "callbag-map";
|
||||
import pipe from "callbag-pipe";
|
||||
|
||||
import { INPUT_FREQUENCY, LockstepProcessor, LockstepState } from "../Ecs/Lockstep";
|
||||
import { INPUT_FREQUENCY, LockstepProcessor, LockstepState } from "../ecs/Lockstep";
|
||||
|
||||
export const enum MessageTypes {
|
||||
/**
|
|
@ -2,8 +2,8 @@ import { Callbag } from "callbag";
|
|||
import pipe from "callbag-pipe";
|
||||
import share from "callbag-share";
|
||||
|
||||
import { INPUT_FREQUENCY } from "../Ecs/Lockstep";
|
||||
import { catchTalkback, defer, interval, makeSubject, map, merge } from "../Utilities/Callbag";
|
||||
import { INPUT_FREQUENCY } from "../ecs/Lockstep";
|
||||
import { catchTalkback, defer, interval, makeSubject, map, merge } from "../utilities/Callbag";
|
||||
import { ClientMessage, MessageTypes, ServerMessage } from "./LockstepClient";
|
||||
|
||||
/** Stub loopback server that handles multiple clients, for schemes where GlobalInput = LocalInput[] */
|
Loading…
Reference in a new issue