added collect all treasure behavior to the level entity