move resource events to their own class from game