removed unnecessary allocations to fix GC lag
fixed small bug in entityfactory
github was broken so i did more stuff.  moved player animation to updateAnimation method