# Converting code to have custom classes help please

**URL:** <https://forum.kirupa.com/t/converting-code-to-have-custom-classes-help-please/327529>\
**Category:** Uncategorized\
**Created:** [March 7, 2012, 3:32pm UTC](https://forum.kirupa.com/t/converting-code-to-have-custom-classes-help-please/327529 "2012-03-07T15:32:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahanslot](https://avatars.discourse-cdn.com/v4/letter/a/97f17d/32.png) [@ahanslot](https://forum.kirupa.com/u/ahanslot)\
**Post date:** [March 7, 2012, 3:32pm UTC](https://forum.kirupa.com/t/converting-code-to-have-custom-classes-help-please/327529/1 "2012-03-07T15:32:54Z")

</div>

[COLOR=#000000][FONT=verdana]Hi I have the following code for a game how can I extract pieces of the god for example the enemy and make it run as an external class as via seperate .as file?

can you show me an example with my code

[/FONT][/COLOR]
