Created
May 26, 2017 18:21
-
-
Save unity3dcollege/b75946629d1afd15b51fb86fabc249de to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class State | |
{ | |
protected Character character; | |
public abstract void Tick(); | |
public virtual void OnStateEnter() { } | |
public virtual void OnStateExit() { } | |
public State(Character character) | |
{ | |
this.character = character; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment