move rendering systems
This commit is contained in:
parent
93c8bc77b0
commit
89920e0b8e
6 changed files with 21 additions and 21 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { System, Entity, Not } from "ecsy"
|
||||
import { DebugRect } from "../Components/rendering/debugRect";
|
||||
import { PixiRepresentation } from "../Components/rendering/pixiRepresentation";
|
||||
import { DebugRect } from "../../Components/rendering/debugRect";
|
||||
import { PixiRepresentation } from "../../Components/rendering/pixiRepresentation";
|
||||
import { Graphics, DisplayObject } from "pixi.js";
|
||||
import globals from "../globals";
|
||||
import globals from "../../globals";
|
||||
|
||||
// MovableSystem
|
||||
export class DebugRenderSystem extends System {
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
import { PixiRepresentation } from "../Components/rendering/pixiRepresentation";
|
||||
import { PixiRepresentation } from "../../Components/rendering/pixiRepresentation";
|
||||
import { Not, Entity, System } from "ecsy";
|
||||
import { DebugRect } from "../Components/rendering/debugRect";
|
||||
import { SpriteRenderer } from "../Components/rendering/spriteRenderer";
|
||||
import globals from "../globals";
|
||||
import { DebugRect } from "../../Components/rendering/debugRect";
|
||||
import { SpriteRenderer } from "../../Components/rendering/spriteRenderer";
|
||||
import globals from "../../globals";
|
||||
|
||||
|
||||
export class PixiCleanupSystem extends System {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import { System } from "ecsy"
|
||||
import globals from "../globals";
|
||||
import globals from "../../globals";
|
||||
|
||||
// MovableSystem
|
||||
export class RenderSystem extends System {
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
import { System, Entity } from "ecsy";
|
||||
import { Position } from "../Components/position";
|
||||
import { SpriteRenderer } from "../Components/rendering/spriteRenderer";
|
||||
import { Position } from "../../Components/position";
|
||||
import { SpriteRenderer } from "../../Components/rendering/spriteRenderer";
|
||||
import { Sprite, DisplayObject } from "pixi.js";
|
||||
import { PixiRepresentation } from "../Components/rendering/pixiRepresentation";
|
||||
import { addOrSetComponent } from "../util";
|
||||
import globals from "../globals";
|
||||
import { PixiRepresentation } from "../../Components/rendering/pixiRepresentation";
|
||||
import { addOrSetComponent } from "../../util";
|
||||
import globals from "../../globals";
|
||||
|
||||
// MovableSystem
|
||||
export class SpriteSystem extends System {
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import { PixiRepresentation } from "../Components/rendering/pixiRepresentation";
|
||||
import { PixiRepresentation } from "../../Components/rendering/pixiRepresentation";
|
||||
import { Entity, System } from "ecsy";
|
||||
import { Position } from "../Components/position";
|
||||
import { OrderZ } from "../Components/rendering/orderZ";
|
||||
import { Position } from "../../Components/position";
|
||||
import { OrderZ } from "../../Components/rendering/orderZ";
|
||||
|
||||
|
||||
export class ZOrderSystem extends System {
|
||||
|
|
@ -4,14 +4,14 @@ import { setup } from "./setup"
|
|||
import { loadResources } from "./Resources"
|
||||
|
||||
import { DoorSystem } from "./Systems/DoorSystem"
|
||||
import { SpriteSystem } from "./Systems/SpriteSystem"
|
||||
import { RenderSystem } from "./Systems/RenderSystem"
|
||||
import { SpriteSystem } from "./Systems/rendering/SpriteSystem"
|
||||
import { RenderSystem } from "./Systems/rendering/RenderSystem"
|
||||
import { TestSystem } from "./Systems/TestSystem"
|
||||
import { AdventureReturnSystem } from "./Systems/AdventureReturnSystem"
|
||||
import { VisibleHumanSystem } from "./Systems/VisibleHumanSystem"
|
||||
import { DebugRenderSystem } from "./Systems/DebugRenderSystem"
|
||||
import { PixiCleanupSystem } from "./Systems/PixiCleanupSystem"
|
||||
import { ZOrderSystem } from "./Systems/ZOrderSystem"
|
||||
import { DebugRenderSystem } from "./Systems/rendering/DebugRenderSystem"
|
||||
import { PixiCleanupSystem } from "./Systems/rendering/PixiCleanupSystem"
|
||||
import { ZOrderSystem } from "./Systems/rendering/ZOrderSystem"
|
||||
import { PathWalkerSystem } from "./Systems/PathWalkerSystem"
|
||||
import { RandomWalkSystem } from "./Systems/RandomWalkSystem"
|
||||
import { World } from "ecsy"
|
||||
|
|
|
|||
Loading…
Reference in a new issue