An economy engine for Cocoa games.