adding basic collision handling for game objects