Gate now implements GameObject interface.