Skip to content

Instantly share code, notes, and snippets.

@EusthEnoptEron
Created February 2, 2015 00:05
Show Gist options
  • Save EusthEnoptEron/eb777d766632aa63ec81 to your computer and use it in GitHub Desktop.
Save EusthEnoptEron/eb777d766632aa63ec81 to your computer and use it in GitHub Desktop.
using IllusionPlugin;
using System;
using System.Collections.Generic;
using System.Text;
namespace IPluginBoilerplate
{
public class MyPlugin : IPlugin
{
public void OnApplicationQuit()
{
Console.WriteLine("QUIT");
}
public void OnApplicationStart()
{
Console.WriteLine("START");
}
public void OnLevelWasLoaded(int level)
{
Console.WriteLine("LEVEL " + level);
}
public bool Debug
{
get { return true; }
}
public void OnLevelWasInitialized(int level)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment