Spatial hash seems to be working.
aabb-collision probably works, but I'm sleepy.
Systems can initialize their entities at game start.
Beginnings of the collision system factory.
initializeEntities mostly done for spatial hash.
Advice for myself for later.
Renamed to 2d-collision-system. No need to be a factory.
Removing extraneous var declaration.
Tracking old position and size for entities.
Spatial hash set up correctly in collision tick.
Entities are now event emitters.
Collision system could be working now?