mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 06:05:52 +02:00
Split client code from server
This commit is contained in:
@@ -2,15 +2,15 @@ import '../lib';
|
||||
import { Subject } from 'rxjs';
|
||||
import { expect } from 'chai';
|
||||
import { useFakeTimers, SinonFakeTimers } from 'sinon';
|
||||
import { getRegion, addEntity, setRegion, createWorldMap } from '../../common/worldMap';
|
||||
import { addEntity, setRegion, createWorldMap } from '../../client/worldMap';
|
||||
import { PonyTownGame } from '../../client/game';
|
||||
import { MessageType, Entity, Pony, TileType, EntityState, DecodedUpdate } from '../../common/interfaces';
|
||||
import { entity, mock } from '../mocks';
|
||||
import { rect } from '../../common/rect';
|
||||
import { pony, apple } from '../../common/entities';
|
||||
import { createAnimator } from '../../common/animator';
|
||||
import { defaultPonyState } from '../../client/ponyHelpers';
|
||||
import { createRegion } from '../../common/region';
|
||||
import { defaultPonyState } from '../../common/ponyHelpers';
|
||||
import { createRegion, getRegion } from '../../common/region';
|
||||
import { createCamera } from '../../common/camera';
|
||||
import { chatAnimationDuration } from '../../graphics/graphicsUtils';
|
||||
import { handleUpdateEntity, handleSays } from '../../client/handlers';
|
||||
|
||||
Reference in New Issue
Block a user