Skip to content

Instantly share code, notes, and snippets.

@Kronos11
Created January 30, 2011 08:20
Show Gist options
  • Save Kronos11/802686 to your computer and use it in GitHub Desktop.
Save Kronos11/802686 to your computer and use it in GitHub Desktop.
Psuedo code for a ScriptComponent
class ScriptComponent {
struct {
std::string name;
std::string file_name;
std::shared_ptr<IEvent> on_event;
}SCRIPTDATA;
SCRIPTDATA[] scripts;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment