refactor: rename resource files

This commit is contained in:
cha0s 2019-09-19 03:19:24 -05:00
parent 305f421085
commit 688820786d
13 changed files with 9 additions and 9 deletions

View File

@ -3,7 +3,7 @@ const PIXI = 'undefined' !== typeof window ? require('pixi.js') : undefined;
import {compose} from '@avocado/core'; import {compose} from '@avocado/core';
import {Vector} from '@avocado/math'; import {Vector} from '@avocado/math';
import {Image} from './image.resource'; import {Image} from './image';
const decorate = compose( const decorate = compose(
Vector.Mixin('size', 'width', 'height', { Vector.Mixin('size', 'width', 'height', {

View File

@ -4,7 +4,7 @@ export {Canvas} from './canvas';
export {Color} from './color'; export {Color} from './color';
export {Container} from './container'; export {Container} from './container';
export {hasGraphics} from './has-graphics'; export {hasGraphics} from './has-graphics';
export {Image} from './image.resource'; export {Image} from './image';
export {Primitives} from './primitives'; export {Primitives} from './primitives';
export {Renderable} from './renderable'; export {Renderable} from './renderable';
export {Renderer} from './renderer'; export {Renderer} from './renderer';

View File

@ -5,7 +5,7 @@ import * as THREE from 'three';
import {compose, Property} from '@avocado/core'; import {compose, Property} from '@avocado/core';
import {hasGraphics} from '../has-graphics'; import {hasGraphics} from '../has-graphics';
import {Image} from '../image.resource'; import {Image} from '../image';
import {Renderable} from '../renderable'; import {Renderable} from '../renderable';
import {Sprite} from '../sprite'; import {Sprite} from '../sprite';

View File

@ -2,7 +2,7 @@ import {compose} from '@avocado/core';
import {StateProperty, Trait} from '@avocado/entity'; import {StateProperty, Trait} from '@avocado/entity';
import {Rectangle, Vector} from '@avocado/math'; import {Rectangle, Vector} from '@avocado/math';
import {Image} from '../image.resource'; import {Image} from '../image';
import {Sprite} from '../sprite'; import {Sprite} from '../sprite';
const decorate = compose( const decorate = compose(

View File

@ -1 +1 @@
export {Sound} from './sound.resource'; export {Sound} from './sound';

View File

@ -1,4 +1,4 @@
export {Animation} from './animation.resource'; export {Animation} from './animation';
export {AnimationView} from './animation-view'; export {AnimationView} from './animation-view';
export { export {
cancelAnimationFrame, cancelAnimationFrame,

View File

@ -2,7 +2,7 @@ import {compose} from '@avocado/core';
import {StateProperty, Trait} from '@avocado/entity'; import {StateProperty, Trait} from '@avocado/entity';
import {Rectangle, Vector} from '@avocado/math'; import {Rectangle, Vector} from '@avocado/math';
import {Animation} from '../animation.resource'; import {Animation} from '../animation';
import {AnimationView} from '../animation-view'; import {AnimationView} from '../animation-view';
import {TraitAnimatedPacket} from '../packets/trait-animated.packet'; import {TraitAnimatedPacket} from '../packets/trait-animated.packet';

View File

@ -5,4 +5,4 @@ export {Room} from './room.resource';
export {RoomView} from './room-view'; export {RoomView} from './room-view';
export {TilesRenderer} from './tiles-renderer'; export {TilesRenderer} from './tiles-renderer';
export {Tiles} from './tiles'; export {Tiles} from './tiles';
export {Tileset} from './tileset.resource'; export {Tileset} from './tileset';

View File

@ -5,7 +5,7 @@ import {ShapeList} from '@avocado/physics';
import {Synchronized} from '@avocado/state'; import {Synchronized} from '@avocado/state';
import {Tiles} from './tiles'; import {Tiles} from './tiles';
import {Tileset} from './tileset.resource'; import {Tileset} from './tileset';
import {LayerCreatePacket} from './packets/layer-create.packet'; import {LayerCreatePacket} from './packets/layer-create.packet';
import {TileUpdatePacket} from './packets/tile-update.packet'; import {TileUpdatePacket} from './packets/tile-update.packet';