# A class problem...With a little help of my friends

**URL:** <https://forum.kirupa.com/t/a-class-problem-with-a-little-help-of-my-friends/324836>\
**Category:** Uncategorized\
**Created:** [September 11, 2011, 8:50pm UTC](https://forum.kirupa.com/t/a-class-problem-with-a-little-help-of-my-friends/324836 "2011-09-11T20:50:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [September 11, 2011, 8:50pm UTC](https://forum.kirupa.com/t/a-class-problem-with-a-little-help-of-my-friends/324836/1 "2011-09-11T20:50:52Z")

</div>

Hello everyone!  
I have a little problem.  
I have 3 classes.

1-) Main class.  
2-) Enemy class. (a enemy that must b destroyed)  
3-) Enemys bullet class. (the enemies bullet that will atempt to hit me).

How can i dispatch an event from the Enemy Class back to the Main class so the main class can add the enemies bullet on the screen?

Thanks!  
Leo.:red:
