-
Notifications
You must be signed in to change notification settings - Fork 10
chore: update maps to latest version of ethereal engine #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
engine/MapReceptor.ts
Outdated
| return s.merge({ | ||
| center: action.centerPoint, | ||
| switch(action.type) { | ||
| case 'map.INITIALIZE': return state.merge({ |
There was a problem hiding this comment.
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
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> { |
There was a problem hiding this comment.
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
chore: added debug statements in functions and phases
closes #6