call player.addrectangles() in setup to add collision detection