Skip to content

EntityUpdateSystem

jmpala edited this page Aug 21, 2020 · 1 revision

BaseSystem that

On its creation, the Maps entityUpdates and publicUpdates are created.

  • processSystem() process all the Entities contained on the Maps entityUpdates and publicUpdates

  • add(EntityUpdate update, UpdateTo updateTo) the system calls add(int entity, EntityUpdate update, UpdateTo updateTo)

  • add(int entity, EntityUpdate update, UpdateTo updateTo) the system removes the Entities that are instances of RemoveEntity from the Maps entityUpdates and publicUpdates if their entityId are equal. Then the Entity to update is added upon its visibility to NEAR(publicUpdates), ENTITY(entityUpdates) or ALL(both) throw the member method addUpdate().

  • addUpdate(int entity, EntityUpdate update, Map<Integer, Deque<EntityUpdate>> updates) [Pending]

  • attach(int entity, int entityToAttach) [Pending]

  • detach(int entity, Integer sEntity) [Pending]

<< Back to Server Systems

Get Starting

Requirements

Source Code

Reference

run

Graphics

balance

external documentation

Clone this wiki locally