fixed references to gameObject

In circuit.h, fixed references to the gameObject class.