refactor: rename resource files
This commit is contained in:
parent
305f421085
commit
688820786d
|
@ -3,7 +3,7 @@ const PIXI = 'undefined' !== typeof window ? require('pixi.js') : undefined;
|
|||
import {compose} from '@avocado/core';
|
||||
import {Vector} from '@avocado/math';
|
||||
|
||||
import {Image} from './image.resource';
|
||||
import {Image} from './image';
|
||||
|
||||
const decorate = compose(
|
||||
Vector.Mixin('size', 'width', 'height', {
|
||||
|
|
|
@ -4,7 +4,7 @@ export {Canvas} from './canvas';
|
|||
export {Color} from './color';
|
||||
export {Container} from './container';
|
||||
export {hasGraphics} from './has-graphics';
|
||||
export {Image} from './image.resource';
|
||||
export {Image} from './image';
|
||||
export {Primitives} from './primitives';
|
||||
export {Renderable} from './renderable';
|
||||
export {Renderer} from './renderer';
|
||||
|
|
|
@ -5,7 +5,7 @@ import * as THREE from 'three';
|
|||
import {compose, Property} from '@avocado/core';
|
||||
|
||||
import {hasGraphics} from '../has-graphics';
|
||||
import {Image} from '../image.resource';
|
||||
import {Image} from '../image';
|
||||
import {Renderable} from '../renderable';
|
||||
import {Sprite} from '../sprite';
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ import {compose} from '@avocado/core';
|
|||
import {StateProperty, Trait} from '@avocado/entity';
|
||||
import {Rectangle, Vector} from '@avocado/math';
|
||||
|
||||
import {Image} from '../image.resource';
|
||||
import {Image} from '../image';
|
||||
import {Sprite} from '../sprite';
|
||||
|
||||
const decorate = compose(
|
||||
|
|
|
@ -1 +1 @@
|
|||
export {Sound} from './sound.resource';
|
||||
export {Sound} from './sound';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export {Animation} from './animation.resource';
|
||||
export {Animation} from './animation';
|
||||
export {AnimationView} from './animation-view';
|
||||
export {
|
||||
cancelAnimationFrame,
|
||||
|
|
|
@ -2,7 +2,7 @@ import {compose} from '@avocado/core';
|
|||
import {StateProperty, Trait} from '@avocado/entity';
|
||||
import {Rectangle, Vector} from '@avocado/math';
|
||||
|
||||
import {Animation} from '../animation.resource';
|
||||
import {Animation} from '../animation';
|
||||
import {AnimationView} from '../animation-view';
|
||||
import {TraitAnimatedPacket} from '../packets/trait-animated.packet';
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@ export {Room} from './room.resource';
|
|||
export {RoomView} from './room-view';
|
||||
export {TilesRenderer} from './tiles-renderer';
|
||||
export {Tiles} from './tiles';
|
||||
export {Tileset} from './tileset.resource';
|
||||
export {Tileset} from './tileset';
|
||||
|
|
|
@ -5,7 +5,7 @@ import {ShapeList} from '@avocado/physics';
|
|||
import {Synchronized} from '@avocado/state';
|
||||
|
||||
import {Tiles} from './tiles';
|
||||
import {Tileset} from './tileset.resource';
|
||||
import {Tileset} from './tileset';
|
||||
import {LayerCreatePacket} from './packets/layer-create.packet';
|
||||
import {TileUpdatePacket} from './packets/tile-update.packet';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user