# Two objects in one

**URL:** https://discourse.processing.org/t/two-objects-in-one/33871
**Category:** Coding Questions
**Created:** [December 1, 2021, 10:32pm UTC](https://discourse.processing.org/t/two-objects-in-one/33871 "2021-12-01T22:32:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tati1202](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@tati1202](https://discourse.processing.org/u/tati1202)
#### Post date: [December 1, 2021, 10:32pm UTC](https://discourse.processing.org/t/two-objects-in-one/33871/1 "2021-12-01T22:32:12Z")

</div>

Hi, I want to unite the class Juego with the Class Pantallas to replace the golBayernD screen. How can I do this?

Here’s the code: [GitHub - BautiFelli/tecnomultimedia at tp6](https://github.com/BautiFelli/tecnomultimedia/tree/tp6)
