-
Notifications
You must be signed in to change notification settings - Fork 37
EntityUpdateSystem
BaseSystem
that
On its creation, the Maps entityUpdates
and publicUpdates
are created.
-
processSystem()
process all the Entities contained on the MapsentityUpdates
andpublicUpdates
-
add(EntityUpdate update, UpdateTo updateTo)
the system callsadd(int entity, EntityUpdate update, UpdateTo updateTo)
-
add(int entity, EntityUpdate update, UpdateTo updateTo)
the system removes the Entities that are instances ofRemoveEntity
from the MapsentityUpdates
andpublicUpdates
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 methodaddUpdate()
. -
addUpdate(int entity, EntityUpdate update, Map<Integer, Deque<EntityUpdate>> updates)
[Pending] -
attach(int entity, int entityToAttach)
[Pending] -
detach(int entity, Integer sEntity)
[Pending]
- IntelliJ
- Windows JDK
- Linux JDK
- Run client and server localhost
- Host a public server
- Import project to IntelliJ