Skip to content

Instantly share code, notes, and snippets.

@jesterswilde
Created December 17, 2018 21:45
Show Gist options
  • Save jesterswilde/b9ae09f82b2a82e37d83b07fdf90a519 to your computer and use it in GitHub Desktop.
Save jesterswilde/b9ae09f82b2a82e37d83b07fdf90a519 to your computer and use it in GitHub Desktop.
Time TraveL Action Class
public class Action
{
System.Object value;
public System.Object Value { get { return value; } }
ActionEnum type;
public ActionEnum Type { get { return type; } }
ITimed timed;
public ITimed Timed{get{return timed;}}
public Action(ITimed timedObj, ActionEnum actionEnum, System.Object valueToStore = null){
value = valueToStore;
type = actionEnum;
timed = timedObj;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment