tried to optimise movement

wouold like to do collision in entity but right now must be called from update function in child class