Created
December 27, 2018 05:51
-
-
Save worthingtonjg/35a9684630b4a3a55f2c31fa75826f75 to your computer and use it in GitHub Desktop.
Base class for state in simple state machine
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class BaseState { | |
public virtual void InitState () { | |
} | |
public virtual void UpdateState () { | |
} | |
public virtual void DeinitState () { | |
} | |
public virtual void HandleMessage(string message) | |
{ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment