Fixed collision detection, actor class implemented