|
using System;
namespace AbstractFSM
{
public class StateEventArgs : EventArgs
{
public StateEventArgs(int id)
{
m_id = id;
}
private int m_id;
public int Id
{
get { return m_id; }
}
}
public class State
{
private String m_sState = null;
public State(string sState)
{
m_sState = sState;
}
protected virtual void ChangeState(object sender, StateEventArgs eventArgs) {}
public override string ToString()
{
return m_sState;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.