refactor: AnimationView belongs to timing
This commit is contained in:
parent
54470b0627
commit
fda1dfb3f3
|
@ -1,6 +1,5 @@
|
|||
const PIXI = 'undefined' !== typeof window ? require('pixi.js') : undefined;
|
||||
|
||||
export {AnimationView} from './animation-view';
|
||||
export {Canvas} from './canvas';
|
||||
export {Color} from './color';
|
||||
export {Container} from './container';
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
import {hasGraphics} from './has-graphics';
|
||||
import {Container} from './container';
|
||||
import {Image} from './image';
|
||||
import {Renderable} from './renderable';
|
||||
import {Sprite} from './sprite';
|
||||
import {
|
||||
hasGraphics,
|
||||
Container,
|
||||
Image,
|
||||
Renderable,
|
||||
Sprite,
|
||||
} from '@avocado/graphics';
|
||||
|
||||
export class AnimationView extends Renderable {
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
export {Animation} from './animation';
|
||||
export {AnimationView} from './animation-view';
|
||||
export {
|
||||
cancelAnimationFrame,
|
||||
clearAnimation,
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import {compose} from '@avocado/core';
|
||||
import {StateProperty, Trait} from '@avocado/entity';
|
||||
import {AnimationView} from '@avocado/graphics';
|
||||
import {Rectangle, Vector} from '@avocado/math';
|
||||
import {Animation} from '@avocado/timing';
|
||||
import {Animation, AnimationView} from '@avocado/timing';
|
||||
|
||||
const decorate = compose(
|
||||
StateProperty('currentAnimation', {
|
||||
|
|
Loading…
Reference in New Issue
Block a user