Skip to content

chore: update maps to latest version of ethereal engine#12

Draft
aditya-mitra wants to merge 13 commits intomainfrom
update-maps
Draft

chore: update maps to latest version of ethereal engine#12
aditya-mitra wants to merge 13 commits intomainfrom
update-maps

Conversation

@aditya-mitra
Copy link
Copy Markdown

closes #6

Comment thread editor/MapNodeEditor.tsx Outdated
Comment thread engine/MapFunctions.ts Outdated
Comment thread engine/MapFunctions.ts Outdated
Comment thread engine/MapFunctions.ts Outdated
Comment thread engine/MapReceptor.ts Outdated
return s.merge({
center: action.centerPoint,
switch(action.type) {
case 'map.INITIALIZE': return state.merge({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be refactored to use the defineActionQueue API

Comment thread engine/MapUpdateSystem.ts Outdated
const $previousMapCenterPoint: LongLat = Array(2)

export default async function MapUpdateSystem(world: World): Promise<System> {
export default async function MapUpdateSystem(): Promise<any> {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

systems now use defineSystem which takes execute as an argument. any async logic should be done in a reactor on the system defintion

Comment thread engine/phases/CreateGeometryPhase.ts Outdated
Comment thread engine/phases/TransformFeaturePhase.ts Outdated
Comment thread worldInjection.ts Outdated
Comment thread editor/MapNodeEditor.tsx Outdated
Comment thread engine/MapUpdateSystem.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maps - Update the current system for latest version of Ethereal Engine

3 participants