Added support for multiple colours and wall collision detection