Skip to content

Conversation

@aditya-mitra
Copy link

closes #6

return s.merge({
center: action.centerPoint,
switch(action.type) {
case 'map.INITIALIZE': return state.merge({
Copy link
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

const $previousMapCenterPoint: LongLat = Array(2)

export default async function MapUpdateSystem(world: World): Promise<System> {
export default async function MapUpdateSystem(): Promise<any> {
Copy link
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

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

4 participants